Freeswitch on latest FBSD
rpaulo at FreeBSD.org
Fri Aug 15 20:44:01 UTC 2008
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.
More information about the freebsd-current