<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Helvetica Neue";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <param name="rtp-timeout-sec" value="300"/> change to <param name="rtp-timeout-sec" value="0"/> or <param name="rtp-timeout-sec" value="zero"/>?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Guillermo Ruiz Camauer<br><b>Sent:</b> Friday, June 27, 2014 11:38 AM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Problems with RTP delay at around 300 concurrent calls<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Ali,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>What benefits and or consecuences does setting <span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>rtp-timer-name to none and rtp-timeout-sec to zero bring about?</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks,</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Guillermo</span><o:p></o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Fri, Jun 27, 2014 at 9:09 AM, Ali Pey <<a href="mailto:alipey@gmail.com" target="_blank">alipey@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal>Hi David,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Yes, we have done more than 1000 concurrent calls. Here are a few things we needed to do:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>1) Add the following to /etc/security/limits.conf<o:p></o:p></p></div><div><p class=MsoNormal>* hard nofile 65536<o:p></o:p></p></div><div><p class=MsoNormal>* soft nofile 65536<o:p></o:p></p></div><div><p class=MsoNormal>root hard nofile 65536<o:p></o:p></p></div><div><p class=MsoNormal>root soft nofile 65536<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>freeswitch hard stack 10240<o:p></o:p></p></div><div><p class=MsoNormal>freeswitch soft stack 244<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>freeswitch hard nproc unlimited<o:p></o:p></p></div><div><p class=MsoNormal>freeswitch soft nproc unlimited<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>2) Add the followings to /etc/init.d/freeswitch<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -c unlimited<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -d unlimited<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -f unlimited<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -i unlimited<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -n 999999<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -q unlimited<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -u unlimited<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -v unlimited<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -x unlimited<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -s 240<o:p></o:p></p></div><div><p class=MsoNormal> ulimit -l unlimited<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal>3) Set rtp-timer-name to none and rtp-timeout-sec to zero in your sip profile.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regards,<o:p></o:p></p></div><div><p class=MsoNormal>Ali Pey<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><div><p class=MsoNormal>On Tue, Jun 24, 2014 at 3:42 PM, Guillermo Ruiz Camauer <<a href="mailto:grcamauer@gmail.com" target="_blank">grcamauer@gmail.com</a>> wrote:<o:p></o:p></p></div><div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal>Have you tried spreading the calls over more than 1 SIP profile? Each SIP profile gets its own thread.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Also, is this all within your LAN? No firewalls/filters? Are you sure you are linking at 1Gbps, full duplex?<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Guillermo<o:p></o:p></p></div></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Sat, Jun 7, 2014 at 2:22 PM, D D <<a href="mailto:tru083@yahoo.com" target="_blank">tru083@yahoo.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica Neue";color:black'>Hi,<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>I would like to put 500 - 1000 calls into a FS system. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>I have a Dell R900 server with these properties:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'> 8 processors at 2.40GHz<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'> 8GB RAM<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'> Gigabit ethernet<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>I use sipp to send RTP streams.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>I use the FS settings recommended here:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'> <a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=7e360a1f-cf3a-4b18-86e3-239b2604c34b&cm_destination=https://wiki.freeswitch.org/wiki/Performance_testing_and_configurations" target="_blank">https://wiki.freeswitch.org/wiki/Performance_testing_and_configurations</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>including the in-memory core.db.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>I also have used the "-rp" and "-nosql" settings on the FS command-line, and<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>also used the "chrt" command to increase the priority to real-time.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>In all cases, at around 300 concurrent calls, the RTP inter-packet delay becomes<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>unacceptably high. The voice quality is severely impacted.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>During the test, the CPU is not overloaded. It is using only about 1.5 of the 8 processors.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>Are these results expected?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>Has anyone gone higher than 300 concurrent calls?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>Is there anything else that I can do with configuration to improve throughput?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>Thanks,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'>David<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica Neue";color:black'> <o:p></o:p></span></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=2948a5bf-4e7a-494f-b0b4-63d67ead4ef3&cm_destination=http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=3403d37b-7a13-4890-94c6-b82682cdc4da&cm_destination=http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=5987c3ed-e2f0-4a49-9f65-5119a1e789cc&cm_destination=http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=15351782-2a38-489c-ae2e-8d7b24fb220c&cm_destination=http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=5258f0a2-7e2c-41e6-8e68-8f0915c8af79&cm_destination=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" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=b26d2ad4-f432-488e-9b36-74b4df7d02ff&cm_destination=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=d1d4884d-f6fe-447f-8948-4ee14a2c08af&cm_destination=http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=7683450b-96d4-415b-98ca-902b24c7ecf4&cm_destination=http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><span style='color:#888888'><br><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#888888'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='color:#888888'>-- <br>Guillermo Ruiz Camauer</span><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=6d9408cf-5e17-425f-91af-681541157fed&cm_destination=http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=9c4e1c68-ca53-4d9f-bace-47639a4b089c&cm_destination=http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=ebfb92df-32ea-46ce-910a-17e617c75c76&cm_destination=http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=49697cec-f092-4b8d-a2bd-63fc18c1895a&cm_destination=http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=e00a1bcb-2ec8-4700-8272-d5fb794c9493&cm_destination=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" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=3c40999c-53be-474a-9fad-99af38eabfed&cm_destination=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=40f275fa-9031-4526-a37e-8ebf9f4d8693&cm_destination=http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=a5db476c-fa6c-403b-919e-81a6d1ca712f&cm_destination=http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><o:p></o:p></p></blockquote></div></div></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><img border=0 id="_x0000_i1025" src="https://contactmonkey.com/api/v1/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=open&cm_user_email=alipey@gmail.com"><img border=0 id="_x0000_i1026" src="https://contactmonkey.com/api/v1/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=open&cm_user_email=alipey@gmail.com"><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></blockquote></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <br>Guillermo Ruiz Camauer<o:p></o:p></p></div></div></body></html>