On Fri, Aug 15, 2008 at 03:43:15PM -0700, Erol Akarsu wrote: > > You have to increase kern.threads.max_threads_per_proc sysctl. > How will I increase? > Can you you give the syntax? Please don't top-post. To experiment with sysctl values, try this: # sysctl kern.threads.max_threads_per_proc kern.threads.max_threads_per_proc: 1500 # sysctl kern.threads.max_threads_per_proc=2000 kern.threads.max_threads_per_proc: 1500 -> 2000 # sysctl kern.threads.max_threads_per_proc kern.threads.max_threads_per_proc: 2000 Just experiment until your program behaves as needed, and once you've found the right value, add it to /etc/sysctl.conf with a line like this: kern.threads.max_threads_per_proc=2000 This will take effect as soon as you reboot. Of course you don't need to reboot: sysctl the value manually as shown above will do just fine. ;) -cpghost. -- Cordula's Web. http://www.cordula.ws/Received on Fri Aug 15 2008 - 21:20:02 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC