<div dir="ltr">Why do you want to increase stack size? FS tries to keep it as low as possible.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-14 15:45 GMT+01:00 Kevin Mathy <span dir="ltr"><<a href="mailto:k.mathy@hexanet.fr" target="_blank">k.mathy@hexanet.fr</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi List, <div><br></div><div>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.</div>
<div><br></div><div>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 : </div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Error: stacksize 8192 is not optimal: run ulimit -s 240 from your shell before starting the application.<br>auto-adjusting stack size for optimal performance...</blockquote><div><br></div><div>So when I check the status : </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">freeswitch@10.84.9.41@internal> status<br>UP 0 years, 0 days, 0 hours, 0 minutes, 6 seconds, 661 milliseconds, 592 microseconds<br>
FreeSWITCH (Version 1.3.17 git 16289ce 2013-03-14 03:24:25Z) is ready<br>0 session(s) since startup<br>0 session(s) - 0 out of max 30 per sec<br>1000 session(s) max<br>min idle cpu 0.00/100.00<br>Current Stack Size/Max 240K/8192K</blockquote>
<div><br></div><div>It seems that the 8192 value isn't set and is rollbacked to 240... </div><div>I've got exactly the same result when the init script is filled with "ulimit -s 240".</div><div><br></div>
<div>Do you have any idea about how to have the stack size increased ? </div><div><br></div><div>Thanks a lot, </div><div><br></div><div> </div><div><b><div><span style="font-weight:normal">Bien cordialement, </span></div>
<div><span style="font-weight:normal">Best Regards, </span></div><div><span style="font-weight:normal"><br></span></div></b><b>Kevin MATHY</b> |<b> </b>Ingénieur VoIP<br><div><div><b><br></b></div></div></div>
</div></div>
<br>
<img src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif"><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>