Internal
Maximum Number of Processes Allowed on the System
cat /proc/sys/kernel/pid_max
or
sysctl kernel.pid_max
For more details, see sysctl.
Maximum Number of Processes Available to a Single User
The current value can be read and set with ulimit -u.