Expand description
Process resource-limit utilities.
The helpers query soft and hard limits and raise selected soft limits when supported. Platform-specific implementations provide neutral fallbacks when an interface is unavailable.
Functions§
- max_
file_ descriptors - Returns the soft and hard file-descriptor limits.
- max_
memory_ locked - Returns the soft and hard locked-memory limits.
- max_
stack_ size - Returns the soft and hard process stack-size limits.
- max_
threads - Returns the soft and hard per-user process-count limits.
- maximize_
fd_ limit - Raises the soft file descriptor limit to the current hard limit.
- maximize_
thread_ limit - Raises the soft thread limit to the current hard limit.
- page_
size - Get the system’s page size in bytes.