Hello Daniel,

I'll try to execute this procedure.

Thank you,
Julia

On Wed, Nov 11, 2015 at 10:49 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

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.

Can you add following snipped at beginning of the request_route:

if(is_method("OPTIONS") && src_ip==TRUSTEDIP && $rU=="pkgsummary") {
   pkg_summary();
   sl_send_reply("200", "ok");
   exit;
}

You need to replace TRUSTEDIP with the IP address from where you will send a SIP OPTIONS later.

After you restart kamailio, let it run for a while until you see the pkg decreasing enough.

Then send OPTIONS request via sipsak:

sipsak -s sip:pkgsummary@yourserverip

Check the syslog to see if the pkg summary messages are there and if yes, send them here.

If not, you may need to decrease the value for memlog, do:

kamcmd cfg.set_now_int core memlog 1

and then run again the sipsak command.

Cheers,
Daniel


On 11/11/15 07:17, Julia Boudniatsky wrote:
Hello,
We are running Kamailio 4.2.6 ( db77ac) compiled with memory debugging.
The free PKG memory has decreased on ~6.5 M after two weeks.
Please see attached file with the log messages at kamailio shutdown.
Thank you in advance,
Julia.


        


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - http://asipto.com/kat

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users