- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for prlimit (0.15 sec)
-
src/syscall/export_linux_test.go
// license that can be found in the LICENSE file. package syscall import ( "unsafe" ) var ( RawSyscallNoError = rawSyscallNoError ForceClone3 = &forceClone3 Prlimit = prlimit ) const ( Sys_GETEUID = sys_GETEUID ) func Tcgetpgrp(fd int) (pgid int32, err error) { _, _, errno := Syscall6(SYS_IOCTL, uintptr(fd), uintptr(TIOCGPGRP), uintptr(unsafe.Pointer(&pgid)), 0, 0, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:18:19 UTC 2024 - 775 bytes - Viewed (0) -
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) -
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) -
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) -
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) -
clause/limit.go
// Limit limit clause type Limit struct { Limit *int Offset int } // Name where clause name func (limit Limit) Name() string { return "LIMIT" } // Build build where clause func (limit Limit) Build(builder Builder) { if limit.Limit != nil && *limit.Limit >= 0 { builder.WriteString("LIMIT ") builder.AddVar(builder, *limit.Limit) } if limit.Offset > 0 { if limit.Limit != nil && *limit.Limit >= 0 {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 942 bytes - Viewed (0) -
src/runtime/runtime-gdb_unix_test.go
debug.SetTraceback("crash") var lim syscall.Rlimit err := syscall.Getrlimit(syscall.RLIMIT_CORE, &lim) if err != nil { panic(fmt.Sprintf("error getting rlimit: %v", err)) } lim.Cur = lim.Max fmt.Fprintf(os.Stderr, "Setting RLIMIT_CORE = %+#v\n", lim) err = syscall.Setrlimit(syscall.RLIMIT_CORE, &lim) if err != nil { panic(fmt.Sprintf("error setting rlimit: %v", err)) } } func main() { flag.Parse()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:05:30 UTC 2024 - 9.4K bytes - Viewed (0) -
src/syscall/export_rlimit_test.go
// license that can be found in the LICENSE file. //go:build unix package syscall import "sync/atomic" func OrigRlimitNofile() *Rlimit { return origRlimitNofile.Load() } func GetInternalOrigRlimitNofile() *atomic.Pointer[Rlimit] { return &origRlimitNofile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:18:19 UTC 2024 - 374 bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_windows.go
memLimit = resource.NewQuantity(runtimeStatusResources.MemoryLimitInBytes, resource.BinarySI) } if cpuLimit != nil || memLimit != nil { cStatusResources = &kubecontainer.ContainerResources{ CPULimit: cpuLimit, MemoryLimit: memLimit, } } } return cStatusResources } func toKubeContainerUser(statusUser *runtimeapi.ContainerUser) *kubecontainer.ContainerUser { return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 8K bytes - Viewed (0) -
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)