Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 133 for pdkill (0.15 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    			// If the container failed the liveness probe, we should kill it.
    			message = fmt.Sprintf("Container %s failed liveness probe", container.Name)
    			reason = reasonLivenessProbe
    		} else if startup, found := m.startupManager.Get(containerStatus.ID); found && startup == proberesults.Failure {
    			// If the container failed the startup probe, we should kill it.
    			message = fmt.Sprintf("Container %s failed startup probe", container.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    		{name: containers[1].Name, attempt: 0, state: runtimeapi.ContainerState_CONTAINER_EXITED},
    	}
    	verifyContainerStatuses(t, fakeRuntime, expected, "kill all app containers, purge the existing init container, and restart a new one")
    }
    
    // A helper function to get a basic pod and its status assuming all sandbox and
    // containers are running and ready.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  3. src/os/exec.go

    	//
    	// On Windows, calling Release a second time returns EINVAL.
    	return p.release()
    }
    
    // Kill causes the [Process] to exit immediately. Kill does not wait until
    // the Process has actually exited. This only kills the Process itself,
    // not any other processes it may have started.
    func (p *Process) Kill() error {
    	return p.kill()
    }
    
    // Wait waits for the [Process] to exit, and then returns a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. src/os/exec/exec_test.go

    	go func() {
    		defer wg.Done()
    		// We don't check the error return of Kill. It is
    		// possible that the process has already exited, in
    		// which case Kill will return an error "process
    		// already finished". The purpose of this test is to
    		// see whether the race detector reports an error; it
    		// doesn't matter whether this Kill succeeds or not.
    		cmd.Process.Kill()
    	}()
    
    	go func() {
    		defer wg.Done()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. hack/lib/etcd.sh

        kill "${ETCD_SCRAPE_PID}" &>/dev/null || :
        wait "${ETCD_SCRAPE_PID}" &>/dev/null || :
        kube::etcd::scrape || :
        (
          # shellcheck disable=SC2015
          cd "${ETCD_SCRAPE_DIR}"/.. && \
          tar czf etcd-scrapes.tgz etcd-scrapes && \
          rm -rf etcd-scrapes || :
        )
      fi
      if [[ -n "${ETCD_PID-}" ]]; then
        kill "${ETCD_PID}" &>/dev/null || :
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/syscall/syscall_darwin.go

    //
    //go:linkname utimensat
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
    
    /*
     * Wrapped
     */
    
    //sys	kill(pid int, signum int, posix int) (err error)
    
    func Kill(pid int, signum Signal) (err error) { return kill(pid, int(signum), 1) }
    
    /*
     * Exposed directly
     */
    //sys	Access(path string, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClient.java

        }
    
        JvmMemoryStatus getJvmMemoryStatus() {
            return workerProcess.getJvmMemoryStatus();
        }
    
        @Override
        public void stop() {
            workerClient.stop();
        }
    
        public void kill() {
            workerClient.stopNow();
        }
    
        DaemonForkOptions getForkOptions() {
            return forkOptions;
        }
    
        public int getUses() {
            return uses;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogsAnalyzer.groovy

            return new DaemonLogsAnalyzer(daemonBaseDir, version)
        }
    
        DaemonRegistry getRegistry() {
            return registry
        }
    
        void killAll() {
            allDaemons*.kill()
        }
    
    
        List<DaemonFixture> getDaemons() {
            getAllDaemons().findAll { !daemonStoppedWithSocketExceptionOnWindows(it) || it.logContains("Starting build in new daemon") }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioProvisioningPlugin.kt

                        eachFile {
                            // Remove top folder when unzipping, that way we get rid of Android Studio.app folder that can cause issues on Mac
                            // where MacOS would kill the Android Studio process right after start, issue: https://github.com/gradle/gradle-profiler/issues/469
                            relativePath = RelativePath(true, *relativePath.segments.drop(1).toTypedArray())
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/os/exec_unix.go

    	defer p.sigMu.RUnlock()
    
    	switch p.pidStatus() {
    	case statusDone:
    		return ErrProcessDone
    	case statusReleased:
    		return errors.New("os: process already released")
    	}
    
    	return convertESRCH(syscall.Kill(p.Pid, s))
    }
    
    func convertESRCH(err error) error {
    	if err == syscall.ESRCH {
    		return ErrProcessDone
    	}
    	return err
    }
    
    func (p *Process) release() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top