Date: Fri, 15 Aug 2008 16:23:39 -0700 (PDT) From: Erol Akarsu <eakarsu_33@yahoo.com> To: cpghost <cpghost@cordula.ws> Cc: freebsd-current@freebsd.org Subject: Re: Freeswitch on latest FBSD Message-ID: <526028.329.qm@web45213.mail.sp1.yahoo.com>
next in thread | raw e-mail | index | archive | help
Dear cpghost, I appreciate your detailed answer, Can you help me on setting other limits? I did the following but it did not change. I would like this like I do in linux: ulimit -c unlimited ulimit -d unlimited ulimit -f unlimited ulimit -i unlimited ulimit -n 999999 ulimit -q unlimited ulimit -u unlimited ulimit -v unlimited ulimit -x unlimited ulimit -s 244 ulimit -l unlimited Could you please tell me how I will do it on FreeBSD? Thanks ----- Original Message ---- From: cpghost <cpghost@cordula.ws> To: Erol Akarsu <eakarsu_33@yahoo.com> Cc: freebsd-current@freebsd.org Sent: Friday, August 15, 2008 7:00:04 PM Subject: Re: Freeswitch on latest FBSD 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. ;) -. -- Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526028.329.qm>