Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 148 for prlimit (0.16 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		// If updating memory limit, use most recently configured CPU request and limit values.
    		// If updating CPU request and limit, use most recently configured memory request and limit values.
    		switch resourceName {
    		case v1.ResourceMemory:
    			container.Resources.Limits = v1.ResourceList{
    				v1.ResourceCPU:    *resource.NewMilliQuantity(cInfo.currentContainerResources.cpuLimit, resource.DecimalSI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/node_container_manager_linux.go

    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/klog/v2"
    	kubefeatures "k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/kubelet/events"
    	"k8s.io/kubernetes/pkg/kubelet/stats/pidlimit"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    const (
    	defaultNodeAllocatableCgroupName = "kubepods"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    								kubeContainerID: kcs.ID,
    								desiredContainerResources: containerResources{
    									memoryLimit: mem100M.Value(),
    									cpuLimit:    cpu100m.MilliValue(),
    								},
    								currentContainerResources: &containerResources{
    									memoryLimit: mem200M.Value(),
    									cpuLimit:    cpu200m.MilliValue(),
    								},
    							},
    						},
    						v1.ResourceCPU: {
    							{
    								apiContainerIdx: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/stdlib_test.go

    	// type-checking (see golang/go#47729).
    	cpulimit := make(chan struct{}, runtime.GOMAXPROCS(0))
    	var wg sync.WaitGroup
    
    	for dir := range dirFiles {
    		dir := dir
    
    		cpulimit <- struct{}{}
    		wg.Add(1)
    		go func() {
    			defer func() {
    				wg.Done()
    				<-cpulimit
    			}()
    
    			_, err := c.getDirPackage(dir)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/runtime/os_plan9.go

    }
    
    //go:nosplit
    func crash() {
    	notify(nil)
    	*(*int)(nil) = 0
    }
    
    //go:nosplit
    func readRandom(r []byte) int {
    	return 0
    }
    
    func initsig(preinit bool) {
    	if !preinit {
    		notify(unsafe.Pointer(abi.FuncPCABI0(sigtramp)))
    	}
    }
    
    //go:nosplit
    func osyield() {
    	sleep(0)
    }
    
    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/gofmt/gofmt.go

    //
    // For now, this is arbitrarily set to 200, based on the observation that many
    // platforms default to a kernel limit of 256. Ideally, perhaps we should derive
    // it from rlimit on platforms that support that system call.
    //
    // File descriptors opened from outside of this package are not tracked,
    // so this limit may be approximate.
    var fdSem = make(chan bool, 200)
    
    var (
    	rewrite    func(*token.FileSet, *ast.File) *ast.File
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    	Msgsnd   int64
    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    // { int, short, short } in poll.h
    type PollFd struct {
    	Fd      int32
    	Events  int16
    	Revents int16
    }
    
    type Stat_t struct { //Linux Definition
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. .github/dependabot.yml

      - package-ecosystem: "gomod"
        directory: "/"
        schedule:
          interval: "daily"
        # Limit number of open PRs to 0 so that we only get security updates
        # See https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates
        open-pull-requests-limit: 0
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:41 UTC 2024
    - 480 bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/flowcontrol/v1/types.go

    	// `borrowingLimitPercent`, if present, configures a limit on how many
    	// seats this priority level can borrow from other priority levels.
    	// The limit is known as this level's BorrowingConcurrencyLimit
    	// (BorrowingCL) and is a limit on the total number of seats that this
    	// level may borrow at any one time.
    	// This field holds the ratio of that limit to the level's nominal
    	// concurrency limit. When this field is non-nil, it must hold a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  10. src/syscall/syscall_aix.go

    //sysnb	Getpid() (pid int)
    //sys	Geteuid() (euid int)
    //sys	Getegid() (egid int)
    //sys	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (n int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Kill(pid int, signum Signal) (err error)
    //sys	Lchown(path string, uid int, gid int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top