<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>what kamailio version?</p>
<p>Are registrations handled by kamailio, or is just used for calls?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 17/02/2017 13:31, david wrote:<br>
</div>
<blockquote cite="mid:1487334707.9714.27.camel@bts.io" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/4.8.4">
Hello all<br>
<br>
We are observing an issue in one kamailio proxy we use.<br>
The consecuence of an unknow cause is that the private memory of
some UDP receiver processes in where we listen from a particular
IP, seems to be draining along the time while processing traffic.
Quite "slowly" but maybe aroung 200K in 3-4hours, depending on the
moment of the day.<br>
<br>
This is quite weird for us, because it seemed like it was caused
by some particular traffic profile, since we have several IP
listening (8 children each) and we only see the issue in the UDP
receiver processes of some of those IPs. Besides we have moved the
kamailio service listening on the same IP to several different
physical servers, and the behaviour is the same.<br>
We look at it ussing pkg.stats kamcmd command and for instance if
we track one of the process affected<br>
pid: 23784<br>
rank: 53<br>
used: 2838616<br>
<b>free: 13005408</b><br>
real_used: 3771808<br>
<br>
pid: 23784<br>
rank: 53<br>
used: 2842584<br>
<b>free: 12999280</b><br>
real_used: 3777936<br>
<br>
This 2 outputs were taken with 10min diff between each other.<br>
<br>
But we dont know where or how to look at it.<br>
We have been these last days trying to search for patterns to
allocate some particular traffic source causing something weird,
but no luck.<br>
We have checked all the SIP INVITE messages looking for anything
weird at any field but no luck, besides we sometimes see some bad
headers with blank spaces in the uri or thing like that but those
cases we have an error and we dont think it can cause a memory
leak.<br>
Shared memory seems to be stable.<br>
<br>
We also have checked the config we are using and we have been
discarding possible issues since we dont think the $var variables
we are using could cause that issue (but you never know....)<br>
<br>
We tried to debug the kamailio on one affected IP compiling it
with DBG_SYS_MALLOC , and doing the dump of the pkg mem status
when the kamailio was restarted and no traffic was processed, and
also when it had traffic processed. in this last case, we removed
traffic, waited for 20min and made the dump<br>
<br>
i attach you both files, we have the debug logs, but they are very
big to be passed here, and we dont know what to look for :)<br>
<br>
could you please give us some guidance or clue to at least start
to searching for something that can cause this issue?<br>
<br>
thanksĀ alot and regards<br>
david
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>