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 "quality"? 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"><<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>></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, "Sherif Omran" <<a href="http://sherifomran2000@yahoo.com" target="_blank">sherifomran2000@yahoo.com</a>> 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><<a href="http://anita.hall@simmortel.com" target="_blank">anita.hall@simmortel.com</a>></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 <<a href="http://anita.hall@simmortel.com" target="_blank">anita.hall@simmortel.com</a>><br>
Subject: [Freeswitch-users] Max calls Limit?<br>
To: "FreeSWITCH Users Help" <<a href="http://freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><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>
<X-PRE-PROCESS cmd="set" data="default_provider=10.60.20.145"/><br>
<X-PRE-PROCESS cmd="set" data="default_provider_username=freeswitch"/><br>
<X-PRE-PROCESS cmd="set" data="default_provider_password=freeswitch"/><br>
<X-PRE-PROCESS cmd="set" data="default_provider_from_domain=10.60.20.145"/><br>
<!-- true or false --><br>
<X-PRE-PROCESS cmd="set" data="default_provider_register=false"/><br>
<X-PRE-PROCESS cmd="set" data="default_provider_contact=5000"/><br>
<br>
Internal Gateway defined in directory/default/freeswitch.xml<br>
<include><br>
<user id="freeswitch"><br>
<params><br>
<param name="password" value="freeswitch"/><br>
<param name="vm-password" value="5000"/><br>
</params><br>
<variables><br>
<variable name="toll_allow" value="domestic,international,local"/><br>
<variable name="accountcode" value="5000"/><br>
<variable name="user_context" value="default"/><br>
<variable name="effective_caller_id_name" value="Extension 5000"/><br>
<variable name="effective_caller_id_number" value="5000"/><br>
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/><br>
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/><br>
<variable name="callgroup" value="techsupport"/><br>
</variables><br>
</user><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> <<a href="http://mc/compose?to=consulting@freeswitch.org" target="_blank">/mc/compose?to=consulting@freeswitch.org</a>> <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> <<a href="http://mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" target="_blank">/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org</a>> <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>