Re: Freeswitch on latest FBSD

From: David N <davidn04_at_gmail.com>
Date: Sat, 16 Aug 2008 08:49:27 +1000
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
Received on Fri Aug 15 2008 - 21:18:04 UTC

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