Freeswitch on latest FBSD

David N davidn04 at gmail.com
Fri Aug 15 23:18:04 UTC 2008


2008/8/16 Erol Akarsu <eakarsu_33 at yahoo.com>:
> Rui,
>
> I appreciate our answer.
> How will I increase?
> Can you you give the syntax?
>
> Thanks
>
>
>
> ----- Original Message ----
> From: Rui Paulo <rpaulo at FreeBSD.org>
> To: Erol Akarsu <eakarsu_33 at yahoo.com>
> Cc: freebsd-current at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
>
>
>
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>


sysctl kern.threads.max_threads_per_proc=<number>

eg.

sysctl kern.threads.max_threads_per_proc=2000


David N


More information about the freebsd-current mailing list