ConceptsResource limits
The process limit
A container can have 1024 processes and threads at most.
An app starts processes and threads. This is normal.
1 / 4
The pids limit counts the processes and the threads of one container together. The default is 1024.
At the limit, fork fails in the container. A fork bomb stops there.
Change the limit
Flag of ferryd | Default | Off |
|---|---|---|
--pids-limit | 1024 | --pids-limit 0 |
Some apps run thousands of threads. For them, start ferryd with a higher --pids-limit.
See Server defaults.