- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 107 for pdkill (0.35 sec)
-
src/syscall/exec_linux_test.go
PidFD: &pidfd, } if userns { cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER } if err := cmd.Start(); err != nil { return err } defer func() { cmd.Process.Kill() cmd.Wait() }() t.Log("got pidfd:", pidfd) // If pidfd is not supported by the kernel, -1 is returned. if pidfd == -1 { t.Skip("pidfd not supported") } defer syscall.Close(pidfd)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
src/runtime/sys_darwin.go
//go:cgo_import_dynamic libc_sigaltstack sigaltstack "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_getpid getpid "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_kill kill "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_setitimer setitimer "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
rlimOrig := origRlimitNofile.Load() // Start a child process firstly, // so we can use Prlimit to set it's nofile limit. cmd := exec.Command("sleep", "infinity") cmd.Start() defer func() { cmd.Process.Kill() cmd.Process.Wait() }() // Get child process's current nofile limit var lim syscall.Rlimit if err := syscall.Prlimit(cmd.Process.Pid, syscall.RLIMIT_NOFILE, nil, &lim); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
src/syscall/zsyscall_aix_ppc64.go
//go:cgo_import_dynamic libc_Getrlimit getrlimit "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Getrusage getrusage "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Getuid getuid "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Kill kill "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Lchown lchown "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Link link "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Lstat lstat "libc.a/shr_64.o"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:50:55 UTC 2024 - 41.7K bytes - Viewed (0) -
cluster/gce/windows/k8s-node-setup.psm1
# the restart count to 0 each time, so we re-use our restart/10000 action on # each failure. Note it currently restarts even when explicitly stopped, you # have to delete the service entry to *really* kill it (e.g. `sc.exe delete # kubelet`). See issue #72900. if (Get-Process | Where-Object Name -eq "kubelet") { Log-Output -Fatal ` "A kubelet process is already running, don't know what to do" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 88.3K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
// are permanently enabled the apiserver/controllers can assume that the kubelet is // using CSI for all Migrated volume plugins. Then all the CSINode initialization // code can be dropped from Kubelet. // Kill the Kubelet process and allow it to restart to retry initialization klog.Fatalf("Failed to initialize CSINode after retrying: %v", err) } }() return nil } func (p *csiPlugin) GetPluginName() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/kubelet/container/runtime.go
// TODO(random-liu): Return PodSyncResult in KillPod. // gracePeriodOverride if specified allows the caller to override the pod default grace period. // only hard kill paths are allowed to specify a gracePeriodOverride in the kubelet in order to not corrupt user data. // it is useful when doing SIGKILL for hard eviction scenarios, or max grace period during soft eviction scenarios.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 27.8K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
IP: net.IPv4(127, 0, 0, 1), Port: serverPort, }) if err == nil { break } time.Sleep((1 << i) * 5 * time.Millisecond) } if err != nil { close(stdin) cmd.Process.Kill() err = fmt.Errorf("error connecting to the OpenSSL server: %v (%v)\n\n%s", err, cmd.Wait(), out) return nil, nil, nil, nil, err } record := &recordingConn{ Conn: tcpConn, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
firstSync := true for _, containerStatus := range apiPodStatus.ContainerStatuses { if containerStatus.State.Running != nil { firstSync = false break } } // Don't kill containers in pod if pod's cgroups already // exists or the pod is running for the first time podKilled := false if !pcm.Exists(pod) && !firstSync {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
} } base.ExitIfErrors() } initCoverProfile() defer closeCoverProfile() // If a test timeout is finite, set our kill timeout // to that timeout plus one minute. This is a backup alarm in case // the test wedges with a goroutine spinning and its background // timer does not get a chance to fire.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0)