Linux
From Leaky
Distributions
Features
CentOS - max pids
To view the current maximum number
$ cat /proc/sys/kernel/pid_max 32768
To increase the maximum number of processes, you can use sysctl for a temporary or permanent change.
Temporarily update it (until next reboot):
# sysctl -w kernel.pid_max=1048576
or a permanent change:
# echo "kernel.pid_max = 1048576" >> /etc/sysctl.conf # sysctl -p
cPanel sets it to 1048576 by default.