Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 507 for Pids (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/kubelet/cm/node_container_manager_linux.go

    		rc.Memory = &val
    	}
    	if q, exists := rl[v1.ResourceCPU]; exists {
    		// CPU is defined in milli-cores.
    		val := MilliCPUToShares(q.MilliValue())
    		rc.CPUShares = &val
    	}
    	if q, exists := rl[pidlimit.PIDs]; exists {
    		val := q.Value()
    		rc.PidsLimit = &val
    	}
    	rc.HugePageLimit = HugePageLimits(rl)
    
    	return &rc
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. 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)
  10. platforms/documentation/docs/src/docs/userguide/optimizing-performance/gradle_daemon.adoc

    ----
    $ gradle --stop
    ----
    
    This terminates all Daemon processes started with the same version of Gradle used to execute the command.
    
    You can also kill Daemons manually with your operating system.
    To find the PIDs for all Daemons regardless of Gradle version, see <<gradle_daemon.adoc#find_all_daemons,Find Daemons>>.
    
    [[sec:daemon_jvm_criteria]]
    == Configuring the JVM to be used
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:43:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top