Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It can be changed at runtime. From proc(5), system wide limits:

/proc/sys/kernel/pid_max

> PID_MAX_LIMIT, approximately 4 million

/proc/sys/kernel/threads-max

> FUTEX_TID_MASK (0x3fffffff), [approximately 1 billion]

For per-process limit, increase RLIMIT_NPROC.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: