- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 139 for prlimit (0.5 sec)
-
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/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) -
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) -
pkg/kubelet/stats/pidlimit/pidlimit_linux.go
rlimit.MaxPID = &taskMax } // Prefer to read "/proc/loadavg" when possible because sysinfo(2) // returns truncated number when greater than 65538. See // https://github.com/kubernetes/kubernetes/issues/107107 if procs, err := runningTaskCount(); err == nil { rlimit.NumOfRunningProcesses = &procs } else { var info syscall.Sysinfo_t syscall.Sysinfo(&info) procs := int64(info.Procs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 17 09:24:29 UTC 2023 - 2.4K 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) -
samples/ratelimit/local-rate-limit-service.yaml
# This example shows how to use Istio local rate limiting with descriptors to limit by path. # This uses the base book-info demo and adds rate limiting by path, specifically rate limiting the product page # to 10 requests per minute, and the overall fdqn will be able to accept 100 requests per minute. apiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: name: filter-local-ratelimit-svc namespace: istio-system spec: workloadSelector:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 31 08:22:09 UTC 2023 - 3.1K bytes - Viewed (0) -
src/syscall/rlimit_stub.go
// license that can be found in the LICENSE file. //go:build unix && !darwin package syscall // adjustFileLimit adds per-OS limitations on the Rlimit used for RLIMIT_NOFILE. See rlimit.go.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 21:22:57 UTC 2023 - 338 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)