<div dir="ltr">Hello Daniel,<div><br><div>I'll try to execute this procedure.</div><div><br></div><div>Thank you,</div><div>Julia<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 11, 2015 at 10:49 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div 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>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>
kamcmd cfg.set_now_int core memlog 1<br>
<br>
and then run again the sipsak command.<br>
<br>
Cheers,<br>
Daniel<div><div><br>
<br>
<div>On 11/11/15 07:17, Julia Boudniatsky
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div>
<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></fieldset>
<br>
</div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span><font color="#888888">
</font></span></pre><span><font color="#888888">
</font></span></blockquote><span><font color="#888888">
<br>
<pre cols="72">--
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - <a href="http://asipto.com/kat" target="_blank">http://asipto.com/kat</a></pre>
</font></span></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div></div></div></div>