I think I have found something that I need from the Linux kernel that is not currently implemented.
I need a way to set a max thread limit per process.
Is this possible?
I think I have found something that I need from the Linux kernel that is not currently implemented.
I need a way to set a max thread limit per process.
Is this possible?
From StackOverflow:
Linux doesn't have a separate threads per process limit, just a limit on the total number of processes on the system (threads are essentially just processes with a shared address space on Linux) which you can view like this:
The default is the number of memory pages/4. You can increase this like:
There is also a limit on the number of processes (an hence threads) that a single user may create, see
ulimit/getrlimit
for details regarding these limits.