In the below we are going to use two methods, one involving sysctl, the other directly echoing values to /proc/sys/
kernel/pid_max. Note that the echo method requires you to be root; sudo won’t work. We’ll leave it to you to figure
out why, if you don’t already know!
Is it because the system is started by root and the file is in use by root?