Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 454 for prlimit (0.56 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go

    	tests := []struct {
    		name     string
    		cpuLimit resource.Quantity
    		cpuCount int64
    		want     int64
    	}{
    		{
    			name:     "max range when same amount",
    			cpuLimit: resource.MustParse("1"),
    			cpuCount: 1,
    			want:     10000,
    		},
    		{
    			name:     "percentage calculation is working as intended",
    			cpuLimit: resource.MustParse("94"),
    			cpuCount: 96,
    			want:     9791,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. samples/ratelimit/rate-limit-service.yaml

    ##################################################################################################
    # Redis service and deployment
    # Ratelimit service and deployment
    
    # Note: a configmap is needed to make the rate limit deployment work properly, for example:
    #
    #  apiVersion: v1
    #  kind: ConfigMap
    #  metadata:
    #    name: ratelimit-config
    #  data:
    #    config.yaml: |
    #      domain: echo-ratelimit
    #      descriptors:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. gradlew

        case $MAX_FD in #(
          max*)
            # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
            # shellcheck disable=SC2039,SC3045
            MAX_FD=$( ulimit -H -n ) ||
                warn "Could not query maximum file descriptor limit"
        esac
        case $MAX_FD in  #(
          '' | soft) :;; #(
          *)
            # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    	if !isCgroup2UnifiedMode() {
    		if swapControllerAvailable() {
    			// memorySwapLimit = total permitted memory+swap; if equal to memory limit, => 0 swap above memory limit
    			// Some swapping is still possible.
    			// Note that if memory limit is 0, memory swap limit is ignored.
    			lcr.MemorySwapLimitInBytes = lcr.MemoryLimitInBytes
    		}
    		return
    	}
    
    	m.configureSwap(lcr, 0)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. pilot/cmd/pilot-agent/config/config.go

    	if proxyConfig.Concurrency == nil {
    		// We want to detect based on CPU limit configured. If we are running on a 100 core machine, but with
    		// only 2 CPUs allocated, we want to have 2 threads, not 100, or we will get excessively throttled.
    		if CPULimit != 0 {
    			log.Infof("cpu limit detected as %v, setting concurrency", CPULimit)
    			proxyConfig.Concurrency = wrapperspb.Int32(int32(CPULimit))
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_amd64.go

    //sys	Fstatfs(fd int, buf *Statfs_t) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (euid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error)
    //sysnb	Getuid() (uid int)
    //sysnb	InotifyInit() (fd int, err error)
    //sys	Ioperm(from int, num int, on int) (err error)
    //sys	Iopl(level int) (err error)
    //sys	Listen(s int, n int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/container_manager_linux.go

    }
    
    func (cm *containerManagerImpl) SystemCgroupsLimit() v1.ResourceList {
    	cpuLimit := int64(0)
    
    	// Sum up resources of all external containers.
    	for _, cont := range cm.systemContainers {
    		cpuLimit += cont.cpuMillicores
    	}
    
    	return v1.ResourceList{
    		v1.ResourceCPU: *resource.NewMilliQuantity(
    			cpuLimit,
    			resource.DecimalSI),
    	}
    }
    
    func isProcessRunningInHost(pid int) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_riscv64.go

    //sys	Fstatfs(fd int, buf *Statfs_t) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (euid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Listen(s int, n int) (err error)
    //sys	pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix && ppc
    
    package unix
    
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error) = getrlimit64
    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = lseek64
    
    //sys	mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux_mips64x.go

    //sys	Ftruncate(fd int, length int64) (err error)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (euid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error)
    //sysnb	Getuid() (uid int)
    //sysnb	InotifyInit() (fd int, err error)
    //sys	Lchown(path string, uid int, gid int) (err error)
    //sys	Listen(s int, n int) (err error)
    //sys	Pause() (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top