<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<pre>Hi,<br><br>As I mentioned in my previous email I am performing SIP to SIP performance testing using Kamailio proxy (UAC-Kamailio-UAC). <br>After increasing the load to 300 calls/sec, Kamailio begins dropping UDP packets. (250 cps works fine). <br>CPU utilization and network bandwidth looks fine. <br><br>- UDP packet size on the Linux server is increased to 8M:<br>net.core.rmem_max = 8388608<br><br>- the number of children used in Kamailio config increased to 16:<br>fork=yes<br>children=16<br><br><br>Here is there error I am getting in /var/log/syslog file: <br><br>Feb 13 15:17:39 lab-linux01 /sbin/kamailio[12014]: ERROR:tm:new_t: out of mem<br>Feb 13 15:17:39 lab-linux01 /sbin/kamailio[12014]: ERROR:tm:t_newtran: new_t failed<br>Feb 13 15:17:39 lab-linux01 /sbin/kamailio[12024]: ERROR:tm:new_t: out of mem<br>Feb 13 15:17:39 lab-linux01 /sbin/kamailio[12024]: ERROR:tm:t_newtran: new_t failed<br><br><br>I am using 64M for the memory size (/etc/default/kamailio)<br># Amount of memory to allocate for the running Kamailio server (in Mb)<br>MEMORY=64<br><br>Does it mean I need to increase this value?<br><br>Thanks,<br></pre><br><br><br><br>> Date: Wed, 11 Feb 2009 18:26:49 +0200<br>> From: miconda@gmail.com<br>> To: alex_rsm@hotmail.com<br>> CC: users@lists.kamailio.org<br>> Subject: Re: [Kamailio-Users] UDP packet loss<br>> <br>> Hello,<br>> <br>> On 02/11/2009 05:43 PM, Alex R.S.M wrote:<br>> > hello<br>> ><br>> > > What are the number of children you have in config?<br>> > fork=yes<br>> > children=4<br>> this is a bit low if you want to manage high traffic. Try with <br>> children=16 and see how the results are.<br>> <br>> Cheers,<br>> Daniel<br>> <br>> ><br>> > > Do you get any error messages in the syslog?<br>> > not getting any error message in /var/log/syslog<br>> ><br>> ><br>> > Thanks,<br>> > Ali<br>> ><br>> ><br>> > > Date: Wed, 11 Feb 2009 17:21:46 +0200<br>> > > From: miconda@gmail.com<br>> > > To: alex_rsm@hotmail.com<br>> > > CC: users@lists.kamailio.org<br>> > > Subject: Re: [Kamailio-Users] UDP packet loss<br>> > ><br>> > > Hello,<br>> > ><br>> > > On 02/11/2009 04:51 PM, Alex R.S.M wrote:<br>> > > > Hi,<br>> > > ><br>> > > > I am performing SIP to SIP performance testing using Kamailio proxy<br>> > > > (UAC-Kamailio-UAC). After increasing the load to 300 calls/sec<br>> > > > Kamailio begins dropping UDP packets. (250 cps works fine). CPU<br>> > > > utilization and network bandwidth looks fine. I think the bottleneck<br>> > > > is the Linux UDP buffer size of the proxy server. Here is the proxy<br>> > > > server information:<br>> > > kamailio autodetects and sets the buffer size to the maximum allowed.<br>> > > What are the number of children you have in config? Do you get any <br>> > error<br>> > > messages in the syslog?<br>> > ><br>> > > Cheers,<br>> > > Daniel<br>> > ><br>> > > ><br>> > > > $ uname -a<br>> > > > Linux lab-linux01 2.6.24-19-server #1 SMP Wed Jun 18 14:44:47 UTC <br>> > 2008<br>> > > > x86_64 GNU/Linux<br>> > > ><br>> > > > $ sudo sysctl -a | grep net.core.rmem_max<br>> > > > net.core.rmem_max = 131071<br>> > > ><br>> > > ><br>> > > > The question is if I increase the linux UDP buffer size do I need to<br>> > > > change any configuartion parameter (like MAX_RECV_BUFFER_SIZE) in<br>> > > > Kamailio?<br>> > > ><br>> > > > Thanks,<br>> > > > Alex R<br>> > > ><br>> > > ><br>> > > > <br>> > ------------------------------------------------------------------------<br>> > > > Windows Live™: Keep your life in sync. See how it works.<br>> > > > <br>> > <http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_022009> <br>> ><br>> > > ><br>> > > > <br>> > ------------------------------------------------------------------------<br>> > > ><br>> > > > _______________________________________________<br>> > > > Kamailio (OpenSER) - Users mailing list<br>> > > > Users@lists.kamailio.org<br>> > > > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users<br>> > > > http://lists.openser-project.org/cgi-bin/mailman/listinfo/users<br>> > ><br>> > > --<br>> > > Daniel-Constantin Mierla<br>> > > http://www.asipto.com<br>> > ><br>> ><br>> > ------------------------------------------------------------------------<br>> > Windows Live™: E-mail. Chat. Share. Get more ways to connect. Check it <br>> > out. <br>> > <http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_022009><br>> <br>> -- <br>> Daniel-Constantin Mierla<br>> http://www.asipto.com<br>> <br><br /><hr />Windows Live™: Keep your life in sync. <a href='http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_022009' target='_new'>See how it works.</a></body>
</html>