240 is the recommended size in all cases.<div><br><br><div class="gmail_quote">On Mon, Dec 19, 2011 at 2:31 AM, Bob <span dir="ltr"><<a href="mailto:gb10hkzo-freeswitch@yahoo.co.uk">gb10hkzo-freeswitch@yahoo.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Apologies if I'm double posting this, but I have not seen my original post to list appear in the archives, so I'm assuming it got lost in cyberspace !<br>
<br>
Hi,<br>
<br>
As per the performance docs, I am trying to set the recommended ULIMIT of 8192 stacksize on a 64 bit machine.<br>
<br>
I am using the current version of Freeswitch (as pulled off GIT yesterday, Friday).<br>
<br>
I am running Scientific Linux 6.1 :<br>
Linux 2.6.32-131.21.1.el6.x86_64 #1 SMP Tue Nov 22 14:15:09 CST 2011 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
<br>
My present ulimit settings are as follows :<br>
$ ulimit -a<br>
<br>
core file size (blocks, -c) unlimited<br>
data seg size (kbytes, -d) unlimited<br>
scheduling priority (-e) 0<br>
file size (blocks, -f) unlimited<br>
pending signals (-i) unlimited<br>
max locked memory (kbytes, -l) unlimited<br>
max memory size (kbytes, -m) unlimited<br>
open files (-n) 999999<br>
pipe size (512 bytes, -p) 8<br>
POSIX message queues (bytes, -q) unlimited<br>
real-time priority (-r) 0<br>
stack size (kbytes, -s) 8192<br>
cpu time (seconds, -t) unlimited<br>
max user processes (-u) unlimited<br>
virtual memory (kbytes, -v) unlimited<br>
file locks (-x) unlimited<br>
<br>
<br>
However when I start freeswitch "bin/freeswitch -nc -nonat -nonatmap", I get the following :<br>
<br>
Error: stacksize 8192 is too large: run ulimit -s 240 from your shell before starting the application.<br>
auto-adjusting stack size for optimal performance...<br>
<br>
Surely this is incorrect, because I am running a 64 bit kernel, 240 is the recommended value for 32 bit ?<br>
<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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>