Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,160 for tgroup (0.18 sec)

  1. cni/pkg/nodeagent/podcgroupns.go

    	reader := bytes.NewReader(procCgroupData.Bytes())
    	var cgroups []Cgroup
    	scanner := bufio.NewScanner(reader)
    
    	for scanner.Scan() {
    		token := scanner.Text()
    		substrings := strings.SplitN(token, ":", 3)
    		if len(substrings) < 3 {
    			return nil, fmt.Errorf("cgroup entry contains %v colons, but expected at least 2 colons: %q", len(substrings), token)
    		}
    		cgroups = append(cgroups, Cgroup{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		p := "/sys/fs/cgroup/memory/memory.memsw.limit_in_bytes"
    		if isCgroup2UnifiedMode() {
    			// memory.swap.max does not exist in the cgroup root, so we check /sys/fs/cgroup/<SELF>/memory.swap.max
    			_, unified, err := cgroups.ParseCgroupFileUnified("/proc/self/cgroup")
    			if err != nil {
    				klog.V(5).ErrorS(fmt.Errorf("failed to parse /proc/self/cgroup: %w", err), warn)
    				return
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cgroup_manager_linux.go

    	}
    
    	// Apply(-1) is a hack to create the cgroup directories for each resource
    	// subsystem. The function [cgroups.Manager.apply()] applies cgroup
    	// configuration to the process with the specified pid.
    	// It creates cgroup files for each subsystems and writes the pid
    	// in the tasks file. We use the function to create all the required
    	// cgroup files but not attach any "real" pid to the cgroup.
    	if err := manager.Apply(-1); err != nil {
    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/container_manager_linux.go

    	// Check if Cgroup-root actually exists on the node
    	if nodeConfig.CgroupsPerQOS {
    		// this does default to / when enabled, but this tests against regressions.
    		if nodeConfig.CgroupRoot == "" {
    			return nil, fmt.Errorf("invalid configuration: cgroups-per-qos was specified and cgroup-root was not specified. To enable the QoS cgroup hierarchy you need to specify a valid cgroup-root")
    		}
    
    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. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/PgpKeyGrouper.java

                .collect(Collectors.toList());
            for (String group : groups) {
                long count = remainingUntouched.stream().filter(p -> p.getGroup().equals(group)).count();
                if (count>1) {
                    // a key is at least used in 2 artifacts
                    verificationsBuilder.addTrustedKey(
                        keyId,
                        group,
                        null,
                        null,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/pod_container_manager_linux.go

    		return err
    	}
    	return nil
    }
    
    // Scan through the whole cgroup directory and kill all processes either
    // attached to the pod cgroup or to a container cgroup under the pod cgroup
    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
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 16:38:36 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/node_container_manager_linux.go

    		klog.ErrorS(err, "Failed to create cgroup", "cgroupName", cm.cgroupRoot)
    		return err
    	}
    	return nil
    }
    
    // enforceNodeAllocatableCgroups enforce Node Allocatable Cgroup settings.
    func (cm *containerManagerImpl) enforceNodeAllocatableCgroups() error {
    	nc := cm.NodeConfig.NodeAllocatableConfig
    
    	// We need to update limits on node allocatable cgroup no matter what because
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            group = ciGroup
        }
    
        register("quickFeedbackCrossVersionTest") {
            description = "Run cross-version tests against a limited set of versions"
            group = ciGroup
        }
    
        register("allVersionsCrossVersionTest") {
            description = "Run cross-version tests against all released versions (latest patch release of each)"
            group = ciGroup
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/FinalizerGroup.java

            // The members of this group have an implicit dependency on each finalized node of this group.
            // When a finalizer node is a member of some other group, then it in turn has an implicit dependency on the finalized nodes of that group.
            // This can introduce a cycle. So, determine all the groups reachable from the finalizers of this group via these relationships
            // and check for cycles
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jul 01 16:25:48 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptor.java

            }
        }
    
        @Override
        public void includeGroup(String group) {
            checkNotNull(group, "Group cannot be null");
            addInclude(group, null, null, MatcherKind.SIMPLE);
        }
    
        @Override
        public void includeGroupAndSubgroups(String groupPrefix) {
            checkNotNull(groupPrefix, "Group prefix cannot be null");
            addInclude(groupPrefix, null, null, MatcherKind.SUB_GROUP);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top