<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>from the logs, it seems to be related to curl library, I see many
reports like:</p>
<p>==16459== 189,318 bytes in 167 blocks are possibly lost in loss
record 681 of 683<br>
==16459==Â Â Â at 0x4C26FEF: calloc (vg_replace_malloc.c:711)<br>
==16459==Â Â Â by 0x104BB699: ??? (in /usr/lib64/libnsspem.so)<br>
==16459==Â Â Â by 0x104AA537: ??? (in /usr/lib64/libnsspem.so)<br>
==16459==Â Â Â by 0x104AB81E: ??? (in /usr/lib64/libnsspem.so)<br>
==16459==Â Â Â by 0x104B0B88: ??? (in /usr/lib64/libnsspem.so)<br>
==16459==Â Â Â by 0x104B77E1: ??? (in /usr/lib64/libnsspem.so)<br>
==16459==Â Â Â by 0xB71ABC9: ??? (in /usr/lib64/libnss3.so)<br>
==16459==Â Â Â by 0xB71AE62: PK11_CreateGenericObject (in
/usr/lib64/libnss3.so)<br>
==16459==Â Â Â by 0xA0674DF: ??? (in /usr/lib64/libcurl.so.4.1.1)<br>
==16459==Â Â Â by 0xA067666: ??? (in /usr/lib64/libcurl.so.4.1.1)<br>
==16459==Â Â Â by 0xA069141: ??? (in /usr/lib64/libcurl.so.4.1.1)<br>
==16459==Â Â Â by 0xA0601C4: Curl_ssl_connect (in
/usr/lib64/libcurl.so.4.1.1)<br>
</p>
<p>That's like almost 200KB lost in this report.<br>
</p>
<p>From the list of the modules, I see you have utils and I guess
you use http query function from there, is it?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 10/10/16 12:06, Jurijs Ivolga wrote:<br>
</div>
<blockquote
cite="mid:CAOrA2UY=PPTEVLXp88KEggfK2QeD+iqZ_FbQnTt+QUbQyUjZ9g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi Daniel,<br>
<br>
</div>
I left valgrind running for little while, not sure if this
will be enough.<br>
<br>
</div>
Please find attached log file.<br>
<br>
</div>
Thank you a lot for your help!<br>
<br>
</div>
With kind regards,<br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Jurijs<br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Fri, Oct 7, 2016 at 7:15 PM,
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:miconda@gmail.com"
target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>that's the way it was done for older versions of
kamailio.</p>
<p>In master and 4.4 the memory debugging is turned on and
it is reflected by the presence of DBG_SR_MEMORY in the
output of 'kamailio -v'.</p>
<p>Anyhow, what you reported is not a leak inside kamailio
memory manager, but a leak of using system memory, so it
is not affected by DBG_SR_MEMORY and cannot be
troubleshooted using the mechanisms for pkg and shm
managers.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div>
<div class="h5"> <br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</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>
Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>