Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 159 for setrlimit (0.19 sec)

  1. src/cmd/cgo/internal/test/issue18146.go

    		setNproc = false
    	case "aix":
    		nproc = 9
    	case "linux":
    		nproc = 6
    	case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd":
    		nproc = 7
    	}
    	if setNproc {
    		var rlim syscall.Rlimit
    		if syscall.Getrlimit(nproc, &rlim) == nil {
    			max := int(rlim.Cur) / (threads + 5)
    			if attempts > max {
    				t.Logf("lowering attempts from %d to %d for RLIMIT_NPROC", attempts, max)
    				attempts = max
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. plugin/pkg/admission/limitranger/admission.go

    		sort.Strings(setRequests)
    		a := strings.Join(setRequests, ", ") + fmt.Sprintf(" request for %s %s", annotationPrefix, container.Name)
    		annotations = append(annotations, a)
    	}
    	if len(setLimits) > 0 {
    		sort.Strings(setLimits)
    		a := strings.Join(setLimits, ", ") + fmt.Sprintf(" limit for %s %s", annotationPrefix, container.Name)
    		annotations = append(annotations, a)
    	}
    	return annotations
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 13:04:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  3. src/syscall/exec_libc.go

    func getpid() (pid uintptr, err Errno)
    func ioctl(fd uintptr, req uintptr, arg uintptr) (err Errno)
    func setgid(gid uintptr) (err Errno)
    func setgroups1(ngid uintptr, gid uintptr) (err Errno)
    func setrlimit1(which uintptr, lim unsafe.Pointer) (err Errno)
    func setsid() (pid uintptr, err Errno)
    func setuid(uid uintptr) (err Errno)
    func setpgid(pid uintptr, pgid uintptr) (err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    		// Skip over segments with zero file size. Their file offsets can have
    		// arbitrary values, see b/195427553.
    		if p.Filesz == 0 {
    			continue
    		}
    		segLimit := p.Off + p.Memsz
    		// The segment must overlap the mapping.
    		if p.Type == elf.PT_LOAD && mapOff < segLimit && p.Off < mapLimit {
    			// If the mapping offset is strictly less than the page aligned segment
    			// offset, then this mapping comes from a different segment, fixes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.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	Lchown(path string, uid int, gid int) (err error)
    //sys	Listen(s int, n int) (err error)
    //sys	Lstat(path string, stat *Stat_t) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.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) = SYS_UGETRLIMIT
    //sysnb	Getuid() (uid int)
    //sys	Ioperm(from int, num int, on int) (err error)
    //sys	Iopl(level int) (err error)
    //sys	Lchown(path string, uid int, gid int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/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)
    //sys	Ioperm(from int, num int, on int) (err error)
    //sys	Iopl(level int) (err error)
    //sys	Lchown(path string, uid int, gid int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/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	MemfdSecret(flags int) (fd int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. plugin/pkg/admission/eventratelimit/admission_test.go

    				}
    				config.Limits = append(config.Limits, namespaceLimit)
    			}
    			if tc.userBurst > 0 {
    				userLimit := eventratelimitapi.Limit{
    					Type:      eventratelimitapi.UserLimitType,
    					Burst:     tc.userBurst,
    					QPS:       qps,
    					CacheSize: tc.userCacheSize,
    				}
    				config.Limits = append(config.Limits, userLimit)
    			}
    			if tc.sourceAndObjectBurst > 0 {
    				sourceAndObjectLimit := eventratelimitapi.Limit{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 13:19:08 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.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	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: Thu Oct 19 23:33:33 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top