Thanks guys, I was able to do more than 1200 calls on a lowly AMD machine, after which the 2 GB RAM went out and 1 GB swap got used.<br><br>Is there a way to automatically get a sense of the call &quot;quality&quot;? Something like, find if UDP packets are getting dropped :)<br>
<br clear="all">regards,<br>Anita<br><br>
<br><br><div class="gmail_quote">On Sun, Jan 8, 2012 at 2:48 AM, Ken Rice <span dir="ltr">&lt;<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<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<div><div class="h5"><br>
<br>
<br>
On 1/7/12 2:31 PM, &quot;Sherif Omran&quot; &lt;<a href="http://sherifomran2000@yahoo.com" target="_blank">sherifomran2000@yahoo.com</a>&gt; wrote:<br>
<br>
</div></div></span></font><blockquote><div><div class="h5"><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="http://anita.hall@simmortel.com" target="_blank">anita.hall@simmortel.com</a>&gt;</i></b> wrote:<br>
</span></font></div></div><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"><div><div class="h5"><br>
From: Anita Hall &lt;<a href="http://anita.hall@simmortel.com" target="_blank">anita.hall@simmortel.com</a>&gt;<br>
Subject: [Freeswitch-users] Max calls Limit?<br>
To: &quot;FreeSWITCH Users Help&quot; &lt;<a href="http://freeswitch-users@lists.freeswitch.org" target="_blank">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>
 &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider=10.60.20.145&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_username=freeswitch&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_password=freeswitch&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_from_domain=10.60.20.145&quot;/&gt;<br>
  &lt;!-- true or false --&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;default_provider_register=false&quot;/&gt;<br>
  &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>
  &lt;user id=&quot;freeswitch&quot;&gt;<br>
    &lt;params&gt;<br>
      &lt;param name=&quot;password&quot; value=&quot;freeswitch&quot;/&gt;<br>
      &lt;param name=&quot;vm-password&quot; value=&quot;5000&quot;/&gt;<br>
    &lt;/params&gt;<br>
    &lt;variables&gt;<br>
      &lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;<br>
      &lt;variable name=&quot;accountcode&quot; value=&quot;5000&quot;/&gt;<br>
      &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>
      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension 5000&quot;/&gt;<br>
      &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;5000&quot;/&gt;<br>
      &lt;variable name=&quot;outbound_caller_id_name&quot; value=&quot;$${outbound_caller_name}&quot;/&gt;<br>
      &lt;variable name=&quot;outbound_caller_id_number&quot; value=&quot;$${outbound_caller_id}&quot;/&gt;<br>
      &lt;variable name=&quot;callgroup&quot; value=&quot;techsupport&quot;/&gt;<br>
    &lt;/variables&gt;<br>
  &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>
</div></div><a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> &lt;<a href="http://mc/compose?to=consulting@freeswitch.org" target="_blank">/mc/compose?to=consulting@freeswitch.org</a>&gt; <br>
<div class="im">
<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>
</div><a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a> &lt;<a href="http://mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" target="_blank">/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org</a>&gt; <br>
<div class="im">
<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>
</div></span></font></blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
<hr size="3" width="95%" align="CENTER"></span></font><div class="im"><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_________________________________________________________________________<br>

Professional FreeSWITCH Consulting Services:<br>
<a href="http://consulting@freeswitch.org" target="_blank">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="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</span></font></font></div></blockquote>
</div>


<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>