<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Max calls Limit?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>This is also adjustable from the FS CLI via the fsctl max_sessions ### command... Replace ### with the max number of sessions you want.<BR>
<BR>
Note this is MAX Sessions, not max calls... So if you are doing 2 legged calls, the number of calls you can do is effective 1/2 that setting since each call leg is a session.<BR>
<BR>
Setting it from the CLI is not kept across restarts of freeswitch for that see switch.xml<BR>
<BR>
This setting should be set at a sane level for your particular hardware as yes it does keep freeswitch starving the server of memory and causes FS to start failing calls at that point.<BR>
<BR>
The similar setting max_sps is for max sessions per second and this is again to keep you from melting down your hardware. The current setting is sufficient for 99% of installs however if you are doing something out of the norm ie: high volume calling you may need to adjust it up<BR>
<BR>
K<BR>
<BR>
<BR>
On 1/7/12 2:31 PM, &quot;Sherif Omran&quot; &lt;<a href="sherifomran2000@yahoo.com">sherifomran2000@yahoo.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Yes<BR>
con/autoload/switch.xml<BR>
<BR>
<BR>
--- On <B>Sat, 1/7/12, Anita Hall <I>&lt;<a href="anita.hall@simmortel.com">anita.hall@simmortel.com</a>&gt;</I></B> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
From: Anita Hall &lt;<a href="anita.hall@simmortel.com">anita.hall@simmortel.com</a>&gt;<BR>
Subject: [Freeswitch-users] Max calls Limit?<BR>
To: &quot;FreeSWITCH Users Help&quot; &lt;<a href="freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<BR>
Date: Saturday, January 7, 2012, 10:32 AM<BR>
<BR>
Is there any config variable somewhere which is limiting the max call limit on FS to 1000?<BR>
<BR>
Set-up:<BR>
Taking FS for max call load on my machine. <BR>
<BR>
User freeswitch is calling internal gateway and playing demo-ivr<BR>
<BR>
User freeswitch defined in vars.xml<BR>
&nbsp;&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider=10.60.20.145&quot;/&gt;<BR>
&nbsp;&nbsp;&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_username=freeswitch&quot;/&gt;<BR>
&nbsp;&nbsp;&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_password=freeswitch&quot;/&gt;<BR>
&nbsp;&nbsp;&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_from_domain=10.60.20.145&quot;/&gt;<BR>
&nbsp;&nbsp;&lt;!-- true or false --&gt;<BR>
&nbsp;&nbsp;&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_register=false&quot;/&gt;<BR>
&nbsp;&nbsp;&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_contact=5000&quot;/&gt;<BR>
<BR>
Internal Gateway defined in directory/default/freeswitch.xml<BR>
&lt;include&gt;<BR>
&nbsp;&nbsp;&lt;user id=&quot;freeswitch&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;params&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;password&quot; value=&quot;freeswitch&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;vm-password&quot; value=&quot;5000&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/params&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;variables&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable name=&quot;accountcode&quot; value=&quot;5000&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension 5000&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;5000&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable name=&quot;outbound_caller_id_name&quot; value=&quot;$${outbound_caller_name}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable name=&quot;outbound_caller_id_number&quot; value=&quot;$${outbound_caller_id}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable name=&quot;callgroup&quot; value=&quot;techsupport&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/variables&gt;<BR>
&nbsp;&nbsp;&lt;/user&gt;<BR>
<BR>
After 1000 calls, it is giving the same error<BR>
-ERR DESTINATION_OUT_OF_ORDER<BR>
<BR>
Yes, my CPU (quad-core AMD) and RAM (2GB only) are under heavy stress by the time 1000 calls are being done, but is it not a little strange that every time the resources get exhausted at precisely 1000 calls!<BR>
<BR>
<BR>
regards,<BR>
Anita<BR>
<BR>
<BR>
-----Inline Attachment Follows-----<BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;<a href="/mc/compose?to=consulting@freeswitch.org">/mc/compose?to=consulting@freeswitch.org</a>&gt; <BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> &lt;<a href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org</a>&gt; <BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>