- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 36 for PIDs (0.51 sec)
-
pkg/kubelet/cm/util/cgroups_unsupported.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package util // GetPids gets pids of the desired cgroup func GetPids(cgroupPath string) ([]int, error) { return nil, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 732 bytes - Viewed (0) -
pkg/kubelet/cm/cgroup_manager_unsupported.go
return errNotSupported } func (m *unsupportedCgroupManager) MemoryUsage(_ CgroupName) (int64, error) { return -1, errNotSupported } func (m *unsupportedCgroupManager) Pids(_ CgroupName) []int { return nil } func (m *unsupportedCgroupManager) CgroupName(name string) CgroupName { return CgroupName([]string{}) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/kubelet/cm/pod_container_manager_linux.go
func (m *podContainerManagerImpl) tryKillingCgroupProcesses(podCgroup CgroupName) error { pidsToKill := m.cgroupManager.Pids(podCgroup) // No pids charged to the terminated pod cgroup return if len(pidsToKill) == 0 { return nil } var errlist []error // os.Kill often errors out, // We try killing all the pids multiple times removed := map[int]bool{} for i := 0; i < 5; i++ { if i != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 16:38:36 UTC 2023 - 12.5K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy
binFile.text = """#!/usr/bin/env sh echo Script PID: \$\$ $binFile.text """ when: runViaStartScript() def pids = result.output.findAll(/PID: \d+/) then: assert pids.size() == 2 assert pids[0] == pids[1] } @Requires(UnitTestPreconditions.Windows) def "can execute generated Windows start script"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 23.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonStopEventsTest.groovy
expect: DaemonStopEvents.uniqueRecentDaemonStopEvents([immediateStop1, immediateStop1]) == [immediateStop1] } def "uniqueRecentDaemonStopEvents() returns most severe event given same PIDs"() { expect: DaemonStopEvents.uniqueRecentDaemonStopEvents([gracefulStop1, immediateStop1]) == [immediateStop1] } def "uniqueRecentDaemonStopEvents() omits stop events older than 1 hour"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.5K bytes - Viewed (0) -
operator/pkg/helmreconciler/prune.go
// of istiod as it is typically not recommended in production environments. pids, err := proxy.GetIDsFromProxyInfo(kubeClient, ns) if err != nil { return errStatus, fmt.Errorf("failed to check proxy infos: %v", err) } if len(pids) != 0 { msg := fmt.Sprintf("there are proxies still pointing to the pruned control plane: %s.", strings.Join(pids, " "))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 15.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvents.java
Long pid = event.getPid(); if (event.occurredInLastHours(RECENTLY) && !uniqueStoppedPids.contains(pid)) { // We can only determine if two DaemonStopEvent point at the same daemon if we know the PIDs if (pid != null) { uniqueStoppedPids.add(pid); } recentStopEvents.add(event); } } return recentStopEvents; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/kubelet/cm/util/cgroups_linux.go
libcontainerutils "github.com/opencontainers/runc/libcontainer/utils" ) const ( // CgroupRoot is the base path where cgroups are mounted CgroupRoot = "/sys/fs/cgroup" ) // GetPids gets pids of the desired cgroup // Forked from opencontainers/runc/libcontainer/cgroup/fs.Manager.GetPids() func GetPids(cgroupPath string) ([]int, error) { dir := "" if libcontainercgroups.IsCgroup2UnifiedMode() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 12 07:50:19 UTC 2020 - 2.9K bytes - Viewed (0) -
cluster/gce/upgrade.sh
return "${list_instances_rc}" fi process_count_left=${node_upgrade_parallelism} pids=() ret_code_sum=0 # Should stay 0 in the loop iff all parallel node upgrades succeed. for instance in "${instances[@]}"; do do-single-node-upgrade "${instance}" & pids+=("$!") # We don't want to run more than ${node_upgrade_parallelism} upgrades at a time,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 25.2K bytes - Viewed (0) -
pkg/kubelet/cm/helpers_linux.go
func getCgroupProcs(dir string) ([]int, error) { procsFile := filepath.Join(dir, "cgroup.procs") f, err := os.Open(procsFile) if err != nil { if os.IsNotExist(err) { // The procsFile does not exist, So no pids attached to this directory return []int{}, nil } return nil, err } defer f.Close() s := bufio.NewScanner(f) out := []int{} for s.Scan() { if t := s.Text(); t != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 11:52:28 UTC 2023 - 9.8K bytes - Viewed (0)