<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
it looks like the pkg summary is made by the main kamailio process
which doesn't route sip packets at runtime, therefore it doesn't
expose any potential leak.<br>
<br>
Can you add following snipped at beginning of the request_route:<br>
<br>
if(is_method("OPTIONS") && src_ip==TRUSTEDIP &&
$rU=="pkgsummary") {<br>
pkg_summary();<br>
sl_send_reply("200", "ok");<br>
exit;<br>
}<br>
<br>
You need to replace TRUSTEDIP with the IP address from where you
will send a SIP OPTIONS later.<br>
<br>
After you restart kamailio, let it run for a while until you see the
pkg decreasing enough.<br>
<br>
Then send OPTIONS request via sipsak:<br>
<br>
sipsak -s <a class="moz-txt-link-freetext" href="sip:pkgsummary@yourserverip">sip:pkgsummary@yourserverip</a><br>
<br>
Check the syslog to see if the pkg summary messages are there and if
yes, send them here.<br>
<br>
If not, you may need to decrease the value for memlog, do:<br>
<br>
<meta charset="utf-8">
kamcmd cfg.set_now_int core memlog 1<br>
<br>
and then run again the sipsak command.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 11/11/15 07:17, Julia Boudniatsky
wrote:<br>
</div>
<blockquote
cite="mid:CAASaakZyfHAz-9oSE-G--X0_GUqwPLzgz3ZBVaBzZuyfz27-vg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div>
<pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">We are running Kamailio 4.2.6 ( db77ac) </font><span style="font-family:arial,sans-serif">compiled with memory debugging.</span></pre>
<pre><font style="color:rgb(0,0,0);white-space:pre-wrap" face="arial, helvetica, sans-serif">The free </font><font face="arial, helvetica, sans-serif" color="#000000"><span style="white-space:pre-wrap">PKG memory has decreased on </span></font><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;white-space:pre-wrap">~6.5 M</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;white-space:pre-wrap"> after two weeks.</span></pre>
<pre><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;white-space:pre-wrap">Please see attached file with </span><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:15.68px">the log messages at kamailio shutdown</span></font><span style="color:rgb(51,51,51);line-height:15.68px;font-family:arial,helvetica,sans-serif">.</span></pre>
<pre><span style="line-height:15.68px;color:rgb(0,0,0);font-family:arial,helvetica,sans-serif">Thank you in advance,</span>
</pre>
<pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">Julia.</font></pre>
<pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">
</font></pre>
<pre style="white-space:pre-wrap;color:rgb(0,0,0)">
</pre>
</div>
</div>
<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-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - <a class="moz-txt-link-freetext" href="http://asipto.com/kat">http://asipto.com/kat</a></pre>
</body>
</html>