Linux系统中最多可有多少个进程同时存在_农民达人_新浪博客
http://blog.sina.com.cn/s/blog_596f35310100b4yn.html
默认是 32768 (2^11),最大值不能超过 2^22 (4194304) 400万。
bob@mail ~]$ cat /proc/sys/kernel/pid_max
32768
文件:proc/sys/kernel/pid_max
This file (new in Linux 2.5) specifies the value at which PIDs wrap around (i.e., the value in this file is one greater than the maximum PID). The default value for this file, 32768, results in the same range of PIDs as on earlier kernels. The value in this file can be set to any value up to 2^22 (PID_MAX_LIMIT, approximately 4 mil-lion).
默认值是32768,但是最大值可以设为2^22 (4194304)。