Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,790 for Killing (0.17 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

            }
        }
    
        private static InputStream killScript(Long pid, boolean killTree) {
            if (OperatingSystem.current().unix) {
                // script for killing full process tree
                // TODO: killing full process tree should be removed after fixing GRADLE-3298
                // this script is tested on Linux and MacOSX
                def killScript = '''
    killtree() {
        local _pid=$1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. cluster/images/etcd/migrate/migrate_server.go

    			} else {
    				klog.Infof("Etcd on port %d is up.", r.cfg.port)
    				r.cmd = etcdCmd
    				return nil
    			}
    		case <-done:
    			err = etcdCmd.Process.Kill()
    			if err != nil {
    				return fmt.Errorf("error killing etcd: %v", err)
    			}
    			return fmt.Errorf("timed out waiting for etcd on port %d", r.cfg.port)
    		}
    	}
    }
    
    // Stop terminates the etcd server process. If the etcd server process has not been started
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 30 16:29:59 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  3. pkg/kubelet/events/event.go

    // Container event reason list
    const (
    	CreatedContainer        = "Created"
    	StartedContainer        = "Started"
    	FailedToCreateContainer = "Failed"
    	FailedToStartContainer  = "Failed"
    	KillingContainer        = "Killing"
    	PreemptContainer        = "Preempting"
    	BackOffStartContainer   = "BackOff"
    	ExceededGracePeriod     = "ExceededGracePeriod"
    )
    
    // Pod event reason list
    const (
    	FailedToKillPod                = "FailedKillPod"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

                suspiciousDaemons.forEach { (suite, pids) ->
                    if (pid in pids && pid !in alreadyKilled) {
                        logger.warn("A process was created in $suite but wasn't shutdown properly. Killing PID $pid")
                        KillLeakingJavaProcesses.pkill(pid)
                    }
                }
            }
        }
    
        private
        fun forEachJavaProcess(action: (pid: String, line: String) -> Unit) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    							Message: nodeShutdownMessage,
    						})
    					}
    				}); err != nil {
    					m.logger.V(1).Info("Shutdown manager failed killing pod", "pod", klog.KObj(pod), "err", err)
    				} else {
    					m.logger.V(1).Info("Shutdown manager finished killing pod", "pod", klog.KObj(pod))
    				}
    			}(pod, group)
    		}
    
    		var (
    			doneCh = make(chan struct{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
  6. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                    System.out.println("Killing Gradle process with PID " + pid + ": " + line);
                    pkill(pid);
                });
            } else {
                forEachLeakingJavaProcess(rootProjectDir, (pid, line) -> {
                    System.out.println("A process wasn't shutdown properly in a previous Gradle run. Killing process with PID " + pid + ": " + line);
                    pkill(pid);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/WithEstimatedSize.java

         * estimate size instead of the real size is that sometimes the real size is too expensive to compute.
         * Typically in a filtered collection you would have to actually do the filtering before knowing the size,
         * so killing all possible optimizations. Instead, it should return the size of the collection it wraps,
         * so that we have an estimate of the number of elements it may contain. The closer to reality is the better,
         * of course.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 18 08:11:23 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  8. buildscripts/verify-healing.sh

    		for i in $(seq 1 3); do
    			echo "server$i log:"
    			cat "${WORK_DIR}/dist-minio-server$i.log"
    		done
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	sleep 1
    	if pgrep minio; then
    		# forcibly killing, to proceed further properly.
    		if ! pkill -9 minio; then
    			echo "no minio process running anymore, proceed."
    		fi
    	fi
    }
    
    function check_heal() {
    	if ! grep -q 'Status:' ${WORK_DIR}/dist-minio-*.log; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. buildscripts/verify-healing-empty-erasure-set.sh

    			echo "server$i log:"
    			cat "${WORK_DIR}/dist-minio-server$i.log"
    		done
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	sleep 1
    	if pgrep minio; then
    		# forcibly killing, to proceed further properly.
    		if ! pkill -9 minio; then
    			echo "no minio process running anymore, proceed."
    		fi
    	fi
    }
    
    function check_online() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	}
    
    	return int64(metav1.Now().Sub(start.Time).Seconds())
    }
    
    // restoreSpecsFromContainerLabels restores all information needed for killing a container. In some
    // case we may not have pod and container spec when killing a container, e.g. pod is deleted during
    // kubelet restart.
    // To solve this problem, we've already written necessary information into container labels. Here we
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
Back to top