PID limit

A cap on how many processes a container may run at the same time.

Without it, one container can stop every other process on the host from starting.

In more detail

A bug or an attack that keeps starting new processes (a fork bomb) can exhaust the process table of the whole host. --pids-limit writes the pids.max control group file so the kernel refuses new processes past that number, and only that container is affected.

Related terms

Taught in

References