Date: Sat, 16 Aug 2008 08:49:27 +1000 From: "David N" <davidn04@gmail.com> To: "Erol Akarsu" <eakarsu_33@yahoo.com> Cc: freebsd-current@freebsd.org Subject: Re: Freeswitch on latest FBSD Message-ID: <4d7dd86f0808151549r39c6f1f8webbcc5f8ffb487eb@mail.gmail.com> In-Reply-To: <266307.97521.qm@web45210.mail.sp1.yahoo.com> References: <266307.97521.qm@web45210.mail.sp1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/8/16 Erol Akarsu <eakarsu_33@yahoo.com>: > Rui, > > I appreciate our answer. > How will I increase? > Can you you give the syntax? > > Thanks > > > > ----- Original Message ---- > From: Rui Paulo <rpaulo@FreeBSD.org> > To: Erol Akarsu <eakarsu_33@yahoo.com> > Cc: freebsd-current@freebsd.org > Sent: Friday, August 15, 2008 4:19:12 PM > Subject: Re: Freeswitch on latest FBSD > > On Fri, Aug 15, 2008 at 12:32:52PM -0700, Erol Akarsu wrote: >> I am testing Freeswitch on FreBSD. >> >> I have Dell Precision workstation with Xeon quad processor 2.66 Ghz. I have installed the latest bsd. >> Then I compiled freeswitch on it and made load test. I am sending 800 simultaneous originate calls. >> Then, FBSD can create only 1400 threads and the rest of calls are dropped. >> >> I have run small utility to test how many maximum threads this box can reach to. I have got only 1400 threads. Later on, I ulimit everything to maximum with >> 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 >> ulimit -a >> >> but the result is same, only 1400 threads maximum. >> >> how can I increate this limit? > > You have to increase kern.threads.max_threads_per_proc sysctl. > > Regards, > -- > Rui Paulo > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > sysctl kern.threads.max_threads_per_proc=<number> eg. sysctl kern.threads.max_threads_per_proc=2000 David N
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d7dd86f0808151549r39c6f1f8webbcc5f8ffb487eb>