Linux 101 : Maximum number of processes - pid_max -
This parent process spawns other processes, which in turn spawn others with higher PID numbers.
The PID on a system can't go beyond a certain number defined in the file "/proc/sys/kernel/pid_max".
We could check this value using the below command:
Or:
We could do it also by writing the value directly in the below file:
Remark:
When the maximum number of PID is reached, the system goes back to using the lowest values available.
Comments