Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for prlimit1 (0.25 sec)

  1. pilot/cmd/pilot-agent/app/fds.go

    //
    // Go already sets this (https://github.com/golang/go/issues/46279).
    // However, it will restore the original limit for subprocesses (Envoy):
    // https://github.com/golang/go/blob/f0d1195e13e06acdf8999188decc63306f9903f5/src/syscall/rlimit.go#L14.
    // By explicitly doing it ourselves, we get the limit passed through to Envoy.
    //
    // This function returns the new limit additionally, for convenience.
    func RaiseFileLimits() (uint64, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 22:16:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/syscall/syscall_darwin.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	Getuid() (uid int)
    //sysnb	Issetugid() (tainted bool)
    //sys	Kqueue() (fd int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    //go:linkname syscall_prlimit syscall.prlimit
    func syscall_prlimit(pid, resource int, newlimit, old *syscall.Rlimit) error
    
    func Prlimit(pid, resource int, newlimit, old *Rlimit) error {
    	// Just call the syscall version, because as of Go 1.21
    	// it will affect starting a new process.
    	return syscall_prlimit(pid, resource, (*syscall.Rlimit)(newlimit), (*syscall.Rlimit)(old))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s

    	MOVD $·Prctl(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_PrlimitAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Prlimit(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_RenameatAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Renameat(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. 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)
  9. src/syscall/syscall_solaris.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	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Kill(pid int, signum Signal) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K 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