MCPcopy Create free account
hub / github.com/cloudfoundry/garden / PidLimits

Struct PidLimits

container.go:353–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353type PidLimits struct {
354 // Limits the number of pids a container may create before new forks or clones are disallowed to processes in the container.
355 // Note: this may only be enforced when a process attempts to fork, so it does not guarantee that a new container.Run(ProcessSpec)
356 // will not succeed even if the limit has been exceeded, but the process will not be able to spawn further processes or threads.
357 Max uint64 `json:"max,omitempty"`
358}
359
360// Resource limits.
361//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected