Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 196 for Pids (0.04 sec)

  1. pkg/kubelet/cm/container_manager_linux.go

    		for _, pid := range allPids {
    			if pid == 1 || isKernelPid(pid) {
    				continue
    			}
    
    			pids = append(pids, pid)
    		}
    
    		// Check if we have moved all the non-kernel PIDs.
    		if len(pids) == 0 {
    			return nil
    		}
    
    		klog.V(3).InfoS("Moving non-kernel processes", "pids", pids)
    		for _, pid := range pids {
    			err := manager.Apply(pid)
    			if err != nil {
    				name := ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. operator/cmd/mesh/uninstall.go

    				rmListString)
    		}
    
    		if len(pids) != 0 && rev != "" {
    			needConfirmation = true
    			message += fmt.Sprintf("There are still %d proxies pointing to the control plane revision %s\n", len(pids), rev)
    			// just print the count only if there is a large list of proxies
    			if len(pids) <= 30 {
    				message += fmt.Sprintf("%s\n", strings.Join(pids, "\n"))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cgroup_manager_linux.go

    	}
    
    	return nil
    }
    
    // Scans through all subsystems to find pids associated with specified cgroup.
    func (m *cgroupManagerImpl) Pids(name CgroupName) []int {
    	// we need the driver specific name
    	cgroupFsName := m.Name(name)
    
    	// Get a list of processes that we need to kill
    	pidsToKill := sets.New[int]()
    	var pids []int
    	for _, val := range m.subsystems.MountPoints {
    		dir := path.Join(val, cgroupFsName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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