<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>No i am definitely not going to that SPS limit. The peak was set to 400 so maybe this is just a skewed value. 1000 session does not look to be high load. The call is bridged and set to play silence and disconnects at random time under 1 minute. The resources on the server also clearly seem to be available. I am not gearing this towards a how do i .... Performance kind of a thread but could there be something unusual here?</div><div><br>Sent from my iPad</div><div><br>On Mar 27, 2014, at 9:07 PM, Ken Rice <<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>> wrote:<br><br></div><blockquote type="cite"><div>
<title>Re: [Freeswitch-users] FreeSWITCH changing max_sessions automatically</title>
<font face="Monaco, Courier New"><span style="font-size:11pt">You’re hitting a melt down protection... Once it reaches a limit and cant allocate the additional resources for creating anew session it will back down the max sessions limit to help save itself...<br>
<br>
The PEAK SPS there was a value seen at some point the SPS buffer... Depending on you beating the machine to death it is possible that number got skewed due to a timer miss<br>
<br>
<br>
On 3/27/14 10:57 AM, "Muhammad Bhatti" <<a href="nbhatti@gmail.com">nbhatti@gmail.com</a>> wrote:<br>
<br>
</span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"> <br>
Just have noticed something new today. Testing a local instance on CentOS 6.0 with FreeSWITCH Version 1.2.23~64bit. FreeSWITCH seems to be changing the max_sessions param automatically. This happens when typically I bridge around 1000 sessions and whatever value I set to sps and max_sessions, it comes down. <br>
<br>
UP 0 years, 0 days, 0 hours, 37 minutes, 54 seconds, 362 milliseconds, 294 microseconds<br>
FreeSWITCH (Version 1.2.23 64bit) is ready<br>
74716 session(s) since startup<br>
<b>976 session(s) - peak 1022, last 5min 985<br>
112 session(s) per Sec out of max 400, peak 9053, last 5min 317 <- BTW This peak was never tried, not sure why it says 9053<br>
5000 session(s) max<br>
min idle cpu 0.00/55.00<br>
Current Stack Size/Max 240K/8192K<br>
<br>
=======<br>
followed by <br>
=======<br>
<br>
switch_core_session.c:2288 Over Session Limit! 1013<br>
mod_sofia.c:4884 Error Creating Session<br>
<br>
=======<br>
And then <br>
=======<br>
<br>
freeswitch@internal> status<br>
UP 0 years, 0 days, 0 hours, 38 minutes, 35 seconds, 372 milliseconds, 831 microseconds<br>
FreeSWITCH (Version 1.2.23 64bit) is ready<br>
76231 session(s) since startup<br>
560 session(s) - peak 1023, last 5min 1023 <br>
0 session(s) per Sec out of max 400, peak 9053, last 5min 317 <br>
1013 session(s) max<br>
min idle cpu 0.00/99.00<br>
Current Stack Size/Max 240K/8192K<br>
<br>
<br>
Is this something changed recently? Or some sort of server meltdown protection mechanism being forked :)<br>
<br>
<br>
</b></span></font></blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"><b><br>
</b>-- <br>
Ken<br>
<font color="#0000FF"><u><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><br>
</u></font><a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>
Twitter: @FreeSWITCH<br>
<br>
</span></font>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>