Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for prlimit (0.37 sec)

  1. 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)
  2. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    								kubeContainerID: kcs.ID,
    								desiredContainerResources: containerResources{
    									memoryLimit: mem100M.Value(),
    									cpuLimit:    cpu100m.MilliValue(),
    								},
    								currentContainerResources: &containerResources{
    									memoryLimit: mem200M.Value(),
    									cpuLimit:    cpu200m.MilliValue(),
    								},
    							},
    						},
    						v1.ResourceCPU: {
    							{
    								apiContainerIdx: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  3. .github/dependabot.yml

      - package-ecosystem: "gomod"
        directory: "/"
        schedule:
          interval: "daily"
        # Limit number of open PRs to 0 so that we only get security updates
        # See https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates
        open-pull-requests-limit: 0
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:41 UTC 2024
    - 480 bytes
    - Viewed (0)
  4. cmd/kubelet/app/server.go

    	if kubeDeps.PodConfig == nil {
    		return fmt.Errorf("failed to create kubelet, pod source config was nil")
    	}
    	podCfg := kubeDeps.PodConfig
    
    	if err := rlimit.SetNumFiles(uint64(kubeServer.MaxOpenFiles)); err != nil {
    		klog.ErrorS(err, "Failed to set rlimit on max file handles")
    	}
    
    	// process pods and exit.
    	if runOnce {
    		if _, err := k.RunOnce(podCfg.Updates()); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  5. pkg/kubelet/container/runtime.go

    type ContainerResources struct {
    	// CPU capacity reserved for the container
    	CPURequest *resource.Quantity
    	// CPU limit enforced on the container
    	CPULimit *resource.Quantity
    	// Memory capaacity reserved for the container
    	MemoryRequest *resource.Quantity
    	// Memory limit enforced on the container
    	MemoryLimit *resource.Quantity
    }
    
    // Status represents the status of a container.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__batch__v1_openapi.json

    whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

                        xml.required = true
                    }
                }
    
                tasks.jacocoTestCoverageVerification {
                    violationRules {
                        rule {
                            limit {
                                minimum = 1.0
                            }
                        }
                    }
                    dependsOn(tasks.test)
                    dependsOn(tasks.jacocoTestReport)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		{opts: storage.ListOptions{ResourceVersion: "", Predicate: storage.SelectionPredicate{Limit: 500}}, expectBypass: true},
    		{opts: storage.ListOptions{ResourceVersion: "0", Predicate: storage.SelectionPredicate{Limit: 500}}, expectBypass: false},
    		{opts: storage.ListOptions{ResourceVersion: "1", Predicate: storage.SelectionPredicate{Limit: 500}}, expectBypass: true},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  9. pkg/kube/util.go

    		R: req.Body,
    		N: MaxRequestBodyBytes + 1,
    	}
    	data, err := io.ReadAll(lr)
    	if err != nil {
    		return nil, err
    	}
    	if lr.N <= 0 {
    		return nil, errors.NewRequestEntityTooLargeError(fmt.Sprintf("limit is %d", MaxRequestBodyBytes))
    	}
    	return data, nil
    }
    
    // StripUnusedFields is the transform function for shared informers,
    // it removes unused fields from objects before they are stored in the cache to save memory.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/net/http/transport.go

    	// connections per host, including connections in the dialing,
    	// active, and idle states. On limit violation, dials will block.
    	//
    	// Zero means no limit.
    	MaxConnsPerHost int
    
    	// IdleConnTimeout is the maximum amount of time an idle
    	// (keep-alive) connection will remain idle before closing
    	// itself.
    	// Zero means no limit.
    	IdleConnTimeout time.Duration
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top