<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
it the same page is a mention for 3.x versions which is the new way
respectively:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<pre class="code">kamcmd cfg.set_now_int core mem_dump_pkg <pid></pre>
The signal method was considered unsafe and replaced by the rpc
comamnd by Andrei Pelinescu (iirc).<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 30/07/14 22:15, Alex Villacís Lasso
wrote:<br>
</div>
<blockquote cite="mid:53D95256.9050206@palosanto.com" type="cite">I
am trying to track down a memory leak that was triggered by a
patch I wrote for my local copy of kamailio 4.1.4 . For this, I am
following the documentation at
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:memory">http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:memory</a> .
This page claims that once memlog is set in the configuration
file, a kamailio process will dump a report of the allocation map
when shutting down, or when receiving a SIGUSR1. I have configured
my kamailio.cfg with memlog=1 and no other change, and I see the
memory report on shutdown for all processes. However, when I send
a SIGUSR1 to a kamailio process, the process does absolutely
nothing, with the exception of the first kamailio process (the one
reported as Type=attendant by "kamctl ps"). All of the other
processes just ignore SIGUSR1. What is going on? It is
inconvenient to force a shutdown of all the kamailio processes
just to get the memory report.
<br>
<br>
_______________________________________________
<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<br>
<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>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<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></pre>
</body>
</html>