What determines what PID a process will be assigned?
It seems as if there is an upper bound for the integer value that's used for the ID; what is this limit and where is it defined?
Is there a range that is reserved for processes that are not created by the user?
Just to be clear, I'm asking this more out of curiosity than any practical reason.
login.conf
or have adaemon
class user run amok the process limit would be hit well before PIDs run short. – thrig Sep 04 '18 at 16:04