Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 630 for prlimit (0.23 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go

    	Max uint32
    }
    
    //sysnb	getrlimit(resource int, rlim *rlimit32) (err error) = SYS_UGETRLIMIT
    
    const rlimInf32 = ^uint32(0)
    const rlimInf64 = ^uint64(0)
    
    func Getrlimit(resource int, rlim *Rlimit) (err error) {
    	err = Prlimit(0, resource, nil, rlim)
    	if err != ENOSYS {
    		return err
    	}
    
    	rl := rlimit32{}
    	err = getrlimit(resource, &rl)
    	if err != nil {
    		return
    	}
    
    	if rl.Cur == rlimInf32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm.go

    	Max uint32
    }
    
    //sysnb	getrlimit(resource int, rlim *rlimit32) (err error) = SYS_UGETRLIMIT
    
    const rlimInf32 = ^uint32(0)
    const rlimInf64 = ^uint64(0)
    
    func Getrlimit(resource int, rlim *Rlimit) (err error) {
    	err = Prlimit(0, resource, nil, rlim)
    	if err != ENOSYS {
    		return err
    	}
    
    	rl := rlimit32{}
    	err = getrlimit(resource, &rl)
    	if err != nil {
    		return
    	}
    
    	if rl.Cur == rlimInf32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux.go

    //sys	Munlockall() (err error)
    
    // prlimit changes a resource limit. We use a single definition so that
    // we can tell StartProcess to not restore the original NOFILE limit.
    //
    // golang.org/x/sys linknames prlimit.
    // Do not remove or change the type signature.
    //
    //go:linkname prlimit
    func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
    	err = prlimit1(pid, resource, newlimit, old)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml

              function override_core_limits() {
                while ! pgrep -u istio-proxy envoy; do
                  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
              }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_386.go

    	Max uint32
    }
    
    //sysnb	getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT
    
    const rlimInf32 = ^uint32(0)
    const rlimInf64 = ^uint64(0)
    
    func Getrlimit(resource int, rlim *Rlimit) (err error) {
    	err = Prlimit(0, resource, nil, rlim)
    	if err != ENOSYS {
    		return err
    	}
    
    	rl := rlimit32{}
    	err = getrlimit(resource, &rl)
    	if err != nil {
    		return
    	}
    
    	if rl.Cur == rlimInf32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/syscall/rlimit.go

    // After a long discussion on go.dev/issue/46279, we decided the
    // best approach was for Go to raise the limit unconditionally for itself,
    // and then leave old software to set the limit back as needed.
    // Code that really wants Go to leave the limit alone can set the hard limit,
    // which Go of course has no choice but to respect.
    func init() {
    	var lim Rlimit
    	if err := Getrlimit(RLIMIT_NOFILE, &lim); err == nil && lim.Cur != lim.Max {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. cmd/server-rlimit.go

    		}
    	}
    
    	var maxLimit uint64
    
    	// Set open files limit to maximum.
    	if _, maxLimit, err = sys.GetMaxOpenFileLimit(); err != nil {
    		return err
    	}
    
    	if maxLimit < 4096 && runtime.GOOS != globalWindowsOSName {
    		logger.Info("WARNING: maximum file descriptor limit %d is too low for production servers. At least 4096 is recommended. Fix with \"ulimit -n 4096\"",
    			maxLimit)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/pidlimit/pidlimit.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package pidlimit
    
    import (
    	"k8s.io/api/core/v1"
    )
    
    const (
    	// PIDs is the (internal) name for this resource
    	PIDs v1.ResourceName = "pid"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 13 19:56:17 UTC 2019
    - 713 bytes
    - Viewed (0)
Back to top