- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 237 for prlimit (0.13 sec)
-
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) -
samples/ratelimit/rate-limit-service.yaml
################################################################################################## # Redis service and deployment # Ratelimit service and deployment # Note: a configmap is needed to make the rate limit deployment work properly, for example: # # apiVersion: v1 # kind: ConfigMap # metadata: # name: ratelimit-config # data: # config.yaml: | # domain: echo-ratelimit # descriptors:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 17:35:19 UTC 2024 - 3.5K bytes - Viewed (0) -
gradlew
case $MAX_FD in #( max*) # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. # shellcheck disable=SC2039,SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac case $MAX_FD in #( '' | soft) :;; #( *) # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 11:20:16 UTC 2024 - 8.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux.go
if !isCgroup2UnifiedMode() { if swapControllerAvailable() { // memorySwapLimit = total permitted memory+swap; if equal to memory limit, => 0 swap above memory limit // Some swapping is still possible. // Note that if memory limit is 0, memory swap limit is ignored. lcr.MemorySwapLimitInBytes = lcr.MemoryLimitInBytes } return } m.configureSwap(lcr, 0) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 17.2K bytes - Viewed (0) -
pilot/cmd/pilot-agent/config/config.go
if proxyConfig.Concurrency == nil { // We want to detect based on CPU limit configured. If we are running on a 100 core machine, but with // only 2 CPUs allocated, we want to have 2 threads, not 100, or we will get excessively throttled. if CPULimit != 0 { log.Infof("cpu limit detected as %v, setting concurrency", CPULimit) proxyConfig.Concurrency = wrapperspb.Int32(int32(CPULimit)) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 6.4K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux.go
} func (cm *containerManagerImpl) SystemCgroupsLimit() v1.ResourceList { cpuLimit := int64(0) // Sum up resources of all external containers. for _, cont := range cm.systemContainers { cpuLimit += cont.cpuMillicores } return v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity( cpuLimit, resource.DecimalSI), } } func isProcessRunningInHost(pid int) (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.1K bytes - Viewed (0)