How to increase the maximum number of threads per process ?
Yevgen Krapiva
ykrapiva at gmail.com
Thu Apr 30 09:19:27 UTC 2009
Hi.
How to increase the maximum number of threads per process ?
sysctl kern.threads.max_threads_per_proc=5000 do the trick but if I
specify more than 5000 (10000 for example), the system doesn't let me
anyway to create more than ~5000 of threads.
This is needed for server application which creates a new thread for
incoming request.
If the number of threads reaches the OS's limits, it crashes.
Thanks.
More information about the freebsd-threads
mailing list