[Freeswitch-users] Recommended ULIMIT settings
Nuno Reis
nreis at wavecom.pt
Tue Aug 13 23:36:17 MSD 2013
Hi guys.
I've just compiled the latest v1.2_stable branch and now i can see the
following output after a status command in fs_cli:
UP 0 years, 0 days, 0 hours, 0 minutes, 21 seconds, 678 milliseconds, 716
microseconds
FreeSWITCH (Version 1.2.12 ) is ready
0 session(s) since startup
0 session(s) - peak 0, last 5min 0
0 session(s) per Sec out of max 30, peak 0, last 5min 0
1000 session(s) max
min idle cpu 0.00/99.00
*Current Stack Size/Max 240K/8192K
*It seems FS still sticks to the 240K stack size although it can now see
the 8192K Max.
Moreover that error msg about stack > 240 at startup has disappeared.
Anymore interpretations on this?
--
*Nuno Miguel Reis* | *Unified Communication** Systems*
M. +351 913907481 | nreis at wavecom.pt
WAVECOM-Soluções Rádio, S.A.
Cacia Park | Rua do Progresso, Lote 15
3800-639 AVEIRO | Portugal
T. +351 309 700 225 | F. +351 234 919 191
*GPS<http://maps.google.com/maps/ms?msa=0&msid=202333747613191340808.0004b4b227a6144f0df88>|
www.wavecom.pt** <http://www.wavecom.pt/>*
[image: Description: Description:
WavecomSignature]<http://www.wavecom.pt/pt/wavecom/premios.php>
[image: Publicity] <http://www.wavecom.pt/pt/mail_eventos.php>
On Tue, Aug 13, 2013 at 3:50 PM, Michael Jerris <mike at jerris.com> wrote:
> 240 or maybe 244 is right.. 8192 is not.. that being said.. it can cause
> issues on some newer linux, it will change that setting for everything, so
> you might need to do it in a bash script that starts freeswitch instead.
>
> On Aug 12, 2013, at 10:53 PM, jay binks <jaybinks at gmail.com> wrote:
>
> can we just get a concensus from the people who know ?? :)
>
> Anthm, MikeJ, BWK ..
>
> it sounds like ulimit -s 240 is the way to go, right ?
>
>
>
>
> On 13 August 2013 12:28, Ken Rice <krice at freeswitch.org> wrote:
>
>> well if you look at the wiki history there seems to be a fight over what
>> to set it to, i always set it to 240 cause it makes that error msg anout
>> stack > 240 at startup go away
>>
>>
>> Ken
>> Sent from my iPad
>>
>> On Aug 12, 2013, at 21:13, jay binks <jaybinks at gmail.com> wrote:
>>
>> So Ken,
>>
>> we should change
>> http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations
>> to be :
>>
>> ulimit -s 240
>>
>>
>> Just want to be 100% sure before changing it .
>>
>> Jay
>>
>>
>>
>>
>>
>> On 13 August 2013 11:18, Ken Rice <krice at freeswitch.org> wrote:
>>
>>> yes this is normal, if fs can auto adjust it to 240 it will... you dont
>>> need > that for the thread stack anyway
>>>
>>> Ken
>>> Sent from my iPad
>>>
>>> On Aug 12, 2013, at 19:52, Nuno Reis <nreis at wavecom.pt> wrote:
>>>
>>> Hi guys.
>>>
>>> I'm currently using the recommended ulimit settings as defined here:
>>>
>>> http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations
>>>
>>> Although there's at least one parameter that doesn't seem to be right
>>> when i do a status at fs_cli:
>>>
>>> UP 0 years, 0 days, 10 hours, 25 minutes, 14 seconds, 617 milliseconds,
>>> 626 microseconds
>>> FreeSWITCH is ready
>>> 55390 session(s) since startup
>>> 0 session(s) 0/100
>>> 5000 session(s) max
>>> min idle cpu 0.00/98.00
>>> *Current Stack Size/Max 240K/240K*
>>>
>>> The stack size should be 8192 as defined, but FS shows otherwise.
>>>
>>> I'm using centOS x86_64 and a 64 bit version of FS.
>>> Is this normal?
>>> Thanks.
>>>
>>> --
>>>
>>>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130813/161ade9b/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 16423 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130813/161ade9b/attachment-0001.png
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list