<div dir="ltr">That's a very hard question to answer. There's a large number of factors that come in, not just the number of calls. CPU gets limited by what you're doing on the calls as well as just the number of them. Things like transcoding will increase the CPU usage per call and therefore reduce the number of calls you can handle. The amount of CPU used will vary between codecs. Conferencing, recording, voicemail etc too. Disk I/O might become an issue if you're doing a lot of recording or too much logging. And there are a number of factors about your OS that you can tune. Moving the core DB to either a ramdisk, ODBC or PgSQL can also have an effect.<div style>
<br></div><div>In short you need to load-test your specific use case since it may vary from what others are doing.<br><div><div><br></div><div>Try starting here: <a href="http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations">http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations</a></div>
<div><br></div><div style>The easier limit to calculate is network bandwidth. That's related which codec you use and and the ptime you use (higher ptime = more fits in a single packets, so less overhead but you lose more if packets get lost). Try <a href="http://www.bandcalc.com/">http://www.bandcalc.com/</a> to start with (though it doesn't list many codecs).</div>
<div style><br></div><div style>If you're hearing the sound cutting in/out it could be packet loss rather than the server if the network isn't able to keep up. Use wireshark to capture the RTP stream and analyse it, look for packet loss or jitter.</div>
<div><br></div><div>-Steve<br><div><br></div><div><br></div><div style><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 April 2013 07:41, Subhash <span dir="ltr"><<a href="mailto:gvvsubhashkumar@gmail.com" target="_blank">gvvsubhashkumar@gmail.com</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="arial,helvetica,sans-serif">Thanks,</font></div>
<div> </div>
<div><font face="arial,helvetica,sans-serif">Can you please explain in detail what is that value and according to that how can i set the max sessions in freeswitch.How can i find the call limit of freeswitch on a particular OS.Do we have any formula to find the max call limit.</font></div>
<div><font face="arial,helvetica,sans-serif"><br clear="all"></font></div>
<div><br><br><font face="arial,helvetica,sans-serif">Thanks,<br>Subhash.</font></div><div class="HOEnZb"><div class="h5"><br><br>
<div class="gmail_quote">On Wed, Apr 10, 2013 at 10:03 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div dir="ltr">Each physical setup has its own limitations. It's relevant to the hardware and software configurations on the box.
<div><br></div>
<div>Once you find that value for your particular machine, you can set the max sessions to that number.
<div><br></div></div></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">
<div>
<div>On Wed, Apr 10, 2013 at 2:32 AM, Subhash <span dir="ltr"><<a href="mailto:gvvsubhashkumar@gmail.com" target="_blank">gvvsubhashkumar@gmail.com</a>></span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div>
<div><font face="arial,helvetica,sans-serif">Hi,</font></div>
<div><font face="arial,helvetica,sans-serif">I ran the load test, raising the port count slowly (every 5 to 10 minutes or so) to 100, 150, 200, 250, 275 and 300 ports. <br><br>There were no audio problems until I reached 275 ports. After probably 10 minutes at 275 ports, audio problems started, and after that they were consistent. <br>
Of course I can’t guarantee that there were no audio problems at lower port counts - if the problem only occurred intermittently I might not have caught it or I might not have waited long enough. <br><br>Once the audio problems started, I slowly lowered the number of ports back to 250 ports. The audio problems disappeared after about 2 1/2 minutes at 250 ports. <br>
I then increased the number of ports back to 275 ports.<br><br>Thanks,<br>Subhash</font>.</div><br></div></div>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br>
<a href="mailto: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-dev mailing list<br><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br><br clear="all">
<div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>IRC: <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br><br>
FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br>
<a href="mailto: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-dev mailing list<br><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></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-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>