Re: Freeswitch on latest FBSD

From: Rui Paulo <rpaulo_at_FreeBSD.org>
Date: Fri, 15 Aug 2008 21:19:12 +0100
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
Received on Fri Aug 15 2008 - 18:44:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC