[Freeswitch-users] Performance optimization and stack size value

Peter Olsson peter at olssononline.se
Fri Feb 14 17:57:48 MSK 2014


Why do you want to increase stack size? FS tries to keep it as low as
possible.


2014-02-14 15:45 GMT+01:00 Kevin Mathy <k.mathy at hexanet.fr>:

> Hi List,
>
> I'm trying to make my FS server more performant and reliable, and I found
> the FS's wiki page telling that I can change some "ulimit" values on my
> system, like the Stack Size.
>
> So, I've changed in the init script the "ulimit -s" value to 8192, but now
> when I start freeswitch I've got the following error message :
>
>> Error: stacksize 8192 is not optimal: run ulimit -s 240 from your shell
>> before starting the application.
>> auto-adjusting stack size for optimal performance...
>
>
> So when I check the status :
>
>> freeswitch at 10.84.9.41@internal> status
>> UP 0 years, 0 days, 0 hours, 0 minutes, 6 seconds, 661 milliseconds, 592
>> microseconds
>> FreeSWITCH (Version 1.3.17 git 16289ce 2013-03-14 03:24:25Z) is ready
>> 0 session(s) since startup
>> 0 session(s) - 0 out of max 30 per sec
>> 1000 session(s) max
>> min idle cpu 0.00/100.00
>> Current Stack Size/Max 240K/8192K
>
>
> It seems that the 8192 value isn't set and is rollbacked to 240...
> I've got exactly the same result when the init script is filled with
> "ulimit -s 240".
>
> Do you have any idea about how to have the stack size increased ?
>
> Thanks a lot,
>
>
>
> *Bien cordialement,  Best Regards, **Kevin MATHY* | Ingénieur VoIP
>
>
>
> _________________________________________________________________________
> 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/20140214/9990494d/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list