Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 165 for processDest (0.17 sec)

  1. pkg/kubelet/cm/cgroup_manager_linux.go

    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)
    		_, err := os.Stat(dir)
    		if os.IsNotExist(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  2. src/runtime/debug/garbage.go

    // environment variable, the call is ignored.
    func SetTraceback(level string)
    
    // SetMemoryLimit provides the runtime with a soft memory limit.
    //
    // The runtime undertakes several processes to try to respect this
    // memory limit, including adjustments to the frequency of garbage
    // collections and returning memory to the underlying system more
    // aggressively. This limit will be respected even if GOGC=off (or,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/options/options.go

    	hostname, err := os.Hostname()
    	if err != nil {
    		return nil, fmt.Errorf("unable to get hostname: %v", err)
    	}
    	// add a uniquifier so that two processes on the same host don't accidentally both become active
    	id := hostname + "_" + string(uuid.NewUUID())
    
    	rl, err := resourcelock.NewFromKubeconfig(config.ResourceLock,
    		config.ResourceNamespace,
    		config.ResourceName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/container_manager_linux.go

    			err = manager.Apply(pid)
    			if err != nil {
    				errs = append(errs, fmt.Errorf("failed to move PID %d (in %q) to %q: %v", pid, cont, name, err))
    			}
    		}
    	}
    
    	// Also apply oom-score-adj to processes
    	oomAdjuster := oom.NewOOMAdjuster()
    	klog.V(5).InfoS("Attempting to apply oom_score_adj to process", "oomScoreAdj", oomScoreAdj, "pid", pid)
    	if err := oomAdjuster.ApplyOOMScoreAdj(pid, oomScoreAdj); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/certs/renewal/manager.go

    	kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil"
    )
    
    // Manager can be used to coordinate certificate renewal and related processes,
    // like CSR generation or checking certificate expiration
    type Manager struct {
    	// cfg holds the kubeadm ClusterConfiguration
    	cfg *kubeadmapi.ClusterConfiguration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		resources.CpuPeriod = cpuPeriod
    	}
    
    	// runc requires cgroupv2 for unified mode
    	if isCgroup2UnifiedMode() {
    		resources.Unified = map[string]string{
    			// Ask the kernel to kill all processes in the container cgroup in case of OOM.
    			// See memory.oom.group in https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html for
    			// more info.
    			"memory.oom.group": "1",
    		}
    	}
    	return &resources
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. internal/event/target/elasticsearch.go

    }
    
    // Close - does nothing and available for interface compatibility.
    func (target *ElasticsearchTarget) Close() error {
    	close(target.quitCh)
    	if target.client != nil {
    		// Stops the background processes that the client is running.
    		target.client.stop()
    	}
    	return nil
    }
    
    func (target *ElasticsearchTarget) checkAndInitClient(ctx context.Context) error {
    	if target.client != nil {
    		return nil
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/testing/fuzz.go

    	isFuzzWorker     *bool
    
    	// corpusDir is the parent directory of the fuzz test's seed corpus within
    	// the package.
    	corpusDir = "testdata/fuzz"
    )
    
    // fuzzWorkerExitCode is used as an exit code by fuzz worker processes after an
    // internal error. This distinguishes internal errors from uncontrolled panics
    // and other failures. Keep in sync with internal/fuzz.workerExitCode.
    const fuzzWorkerExitCode = 70
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. maven-core/src/site/apt/offline-mode.apt

            be unavailable.
    
      So, offline mode has several implications, some of which may not be
      altogether obvious:
    
      * Localhost may be unavailable. Therefore, even locally installed
        server processes which work by conversing over a port may fail.
    
      * Not all "remote" repositories will fail. Specifically, if the remote
        repo uses the file:// protocol, and it doesn't refer to a shared
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/util/util.go

    	if pod == nil || len(pod.Spec.Volumes) <= 0 {
    		return defaultAction
    	}
    
    	if util.IsPodTerminated(pod, pod.Status) {
    		return false
    	}
    	return defaultAction
    }
    
    // ProcessPodVolumes processes the volumes in the given pod and adds them to the
    // desired state of the world if addVolumes is true, otherwise it removes them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top