Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 240 for prlimit1 (0.25 sec)

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

    	default:
    		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. src/syscall/syscall_openbsd.go

    //sysnb	Getpgid(pid int) (pgid int, err error)
    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Issetugid() (tainted bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 10:34:00 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. pkg/kubelet/eviction/helpers.go

    				}
    			}
    		}
    	}
    	if rlimit := summary.Node.Rlimit; rlimit != nil {
    		if rlimit.NumOfRunningProcesses != nil && rlimit.MaxPID != nil {
    			available := int64(*rlimit.MaxPID) - int64(*rlimit.NumOfRunningProcesses)
    			result[evictionapi.SignalPIDAvailable] = signalObservation{
    				available: resource.NewQuantity(available, resource.DecimalSI),
    				capacity:  resource.NewQuantity(int64(*rlimit.MaxPID), resource.DecimalSI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  4. src/syscall/syscall_netbsd.go

    //sysnb	Getpgid(pid int) (pgid int, err error)
    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Issetugid() (tainted bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml

                  echo "Envoy isn't running yet, trying again..."
                  pgrep -u istio-proxy envoy
                  sleep .1
                done
                pid="$(pgrep -u istio-proxy envoy)"
                sudo prlimit -p "${pid}" --core=unlimited
              }
              # To support image builders which cannot do RUN, do the run commands at startup.
              # This exploits the fact the images remove the installer once its installed.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/syscall/types_aix.go

    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    type Timeval32 C.struct_timeval32
    
    type Timezone C.struct_timezone
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Pid_t C.pid_t
    
    type _Gid_t C.gid_t
    
    // Files
    
    type Flock_t C.struct_flock
    
    type Stat_t C.struct_stat
    
    type Statfs_t C.struct_statfs
    
    type Fsid64_t C.fsid64_t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    func enter_Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
    	funcref := get_PrlimitAddr()
    	if funcptrtest(GetZosLibVec()+SYS_PRLIMIT<<4, "") == 0 {
    		*funcref = impl_Prlimit
    	} else {
    		*funcref = error_Prlimit
    	}
    	return (*funcref)(pid, resource, newlimit, old)
    }
    
    func error_Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
    	err = ENOSYS
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  8. src/syscall/syscall_wasip1.go

    	} else {
    		flags &^= FDFLAG_NONBLOCK
    	}
    	errno := fd_fdstat_set_flags(int32(fd), flags)
    	return errnoErr(errno)
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    const (
    	RLIMIT_NOFILE = iota
    )
    
    func Getrlimit(which int, lim *Rlimit) error {
    	return ENOSYS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/syscall/types_solaris.go

    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    type Timeval32 C.struct_timeval32
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Pid_t C.pid_t
    
    type _Gid_t C.gid_t
    
    // Files
    
    const ( // Directory mode bits
    	S_IFMT   = C.S_IFMT
    	S_IFIFO  = C.S_IFIFO
    	S_IFCHR  = C.S_IFCHR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  10. src/syscall/types_darwin.go

    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    type Timeval32 C.struct_timeval32
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Gid_t C.gid_t
    
    // Files
    
    type Stat_t C.struct_stat64
    
    type Statfs_t C.struct_statfs64
    
    type Flock_t C.struct_flock
    
    type Fstore_t C.struct_fstore
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
Back to top