A very elementary question:
I observed that the PID given to new process keeps increasing. As of now when I typed ps
the pid of ps
is given as 48564. (when i do ps
again it gets a +1 value)
The limit given in the file /proc/sys/kernel/pid_max
is 65536.
So what would happen if I reach this limit. Are the PIDs of terminated processes reused ?