A short answer to your question: the number of processes possible in the linux system is UNLIMITED .
But there is a limit on the number of processes per user (except for root, which has no restrictions).
And you can check your user restrictions using the command below (apposite for "maximum user processes").
$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 256447 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 128000 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 500000 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
If you want to increase the limit on the number of processes for a specific user (for example, hadoop), you need to make an entry in /etc/security/limits.conf below
hadoop - nproc 500000
Ankit Singhal Apr 17 '14 at 18:07 2014-04-17 18:07
source share