<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
On 12/16/10 12:28 AM, Jijo wrote:
<blockquote
cite="mid:AANLkTikTqMever9_HWUJsESM-17g2+Kb=21hA-n7FjMh@mail.gmail.com"
type="cite">Hi Klaus,<br>
<br>
Thanks for your help..I have improved the DB lockups which
basically improved by 10%. <br>
<br>
We are running kamailio on IBM 3550 with 100 tcp children. So i
hope
the no of children would be sufficient to make kamailio faster..
Will there be any possibility to improve performance by increasing
the child?. <br>
In my case always the TCP connection between Proxy and SIP server
is congested as i believe main process assign child per socket, so
a single child will be reading the message and processing
sequentially for the tcp socket between proxy and sipserver unitl
EOF. In this case there is no EOF as we are doing load test and
always there is message on that socket. <br>
<br>
We use lots of avp functions, do you think that reduce the
performance?<br>
</blockquote>
if the operations are with avps in memory, there should be no
noticeable performance penalty.<br>
<br>
Back to original issue - if you have some lengthily operations that
have to be applied to your sip traffic and you get congestion
because of that, the solution is to use a kamailio as load balancer
in front of a farm of proxy doing the actual processing. For a very
busy tcp connection where you have mixed messages (for fast and slow
processing), you may try as solution to send over UDP to same
instance (loopback) or to the farm of sip proxies.<br>
<br>
Cheers,<br>
Daniel<br>
<blockquote
cite="mid:AANLkTikTqMever9_HWUJsESM-17g2+Kb=21hA-n7FjMh@mail.gmail.com"
type="cite"><br>
Thanks<br>
Jijo<br>
<br>
<div class="gmail_quote">On Fri, Dec 10, 2010 at 2:17 AM, Klaus
Darilion <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;"><br>
<br>
Am 09.12.2010 18:55, schrieb Jijo:
<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;
padding-left: 1ex;">
Hi Andrei,<br>
<br>
I'm observing TCP Recv buffer getting full when we are
doing a load run<br>
(30cps) on Proxy with TCP. Basically the congestion is
happening on the<br>
TCP connection from SIP Server to Proxy. I beleive
kamailio is not<br>
processing the message fast enough, due to this
congestion is occuring.<br>
Did anyone observe this behavior? How do we resolve it?<br>
</blockquote>
<br>
</div>
</div>
Make Kamailio faster. find out why it is not able to process
the messages fast enough. Kamailio processes block during
message processing. Thus, for example if you are doing slow
database lookups then Kamailio is also slow. You can try to
increase the number of the TCP worker processes
(tcp_children=20) and make sure that syslog logging is
asynchronous (syslogd.conf)<br>
<br>
regards<br>
<font color="#888888">
Klaus<br>
</font></blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>