[sr-dev] [kamailio/kamailio] registrar: fix xavp_rcd memory consumption (#1111)

Daniel-Constantin Mierla notifications at github.com
Mon May 15 18:15:09 CEST 2017


Yes. Start kamailio and do some operations so you expose the leak.

Do a shm status dump:

  * http://www.kamailio.org/docs/modules/5.1.x/modules/corex.html#corex.rpc.shm_status

Then you get details of each allocated chunks -- two pointers

  * start of the memory chunk
  * start of the data inside the memory chunk

With gdb attach to any of the kamailio processes and print the content of the data pointer casted to xavp structure. Do it for several pointers so you see what is inside.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1111#issuecomment-301524822
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170515/d578f6c1/attachment.html>


More information about the sr-dev mailing list