It sounds like you've already found that magic value. Like Steven says, it's very difficult to have a pure formula because of all of the factors that are beyond the control of the FreeSWITCH software. However, you're doing one thing quite correctly: putting real calls on a real server and listening to them. If there is a formula it must include having a knowledgeable person sitting down and actually listening to the calls to hear what happens when the audio starts to go bad.<br>
<br>Steven mentioned some other good points as well. First off, you need to make sure that you aren't experiencing any packet loss. He mentioned Wireshark specifically. I'd like to suggest that you add <a href="http://wiki.freeswitch.org/wiki/Packet_Capture#pcapsipdump">pcapsipdump</a> to your toolbox. It grabs signaling and audio for an individual phone call and puts it all in a single file on disk. That makes it much easier to pick out a specific phone call and analyze it in Wireshark.<br>
<br>Some other things you can try: run top command and see what your CPU usage is. Get iotop and see if there's anything issues with information flowing in/out NICs or to/from HDDs. Also, get another server and use faster CPU, more RAM, faster HDDs, etc. and see if your magic number changes on that server. <br>
<br>I'm afraid that there's no simple formula. Of course, if there was then we'd all be out of a job. :)<br><br>-Michael<br><br><div class="gmail_quote">On Thu, Apr 11, 2013 at 11:41 PM, 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><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>
<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><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>