<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:Consolas;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal-compose;
        font-family:Consolas;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=ES-CL link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US>Hello.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I have a doubt about the memlog and memdbg
log levels.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I have in my configuration file the next lines
: <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>debug=2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #
debug level (cmd line: -dddddddddd)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>fork=yes<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>log_stderror=no&nbsp;&nbsp;&nbsp; # (cmd
line: -E)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>log_facility=LOG_LOCAL0<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>children=4<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>port=5060<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>memdbg=0<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>memlog=0<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I was expecting not to see any memory
debugs, instead I have this lines in the log file : <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Jan&nbsp; 5 16:20:14 -
/usr/local/sbin/kamailio[16672]: WARNING: &lt;core&gt; [mem/q_malloc.c:406]:
qm_malloc(0x826db60, 8) returns address 0x82f9408 frag. 0x82f93f0 (size=8) on 1
-th hit<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Jan&nbsp; 5 16:20:14 -
/usr/local/sbin/kamailio[16672]: WARNING: &lt;core&gt; [mem/q_malloc.c:428]:
qm_free(0x826db60, 0x82f9408), called from nathelper: nathelper.c:
nh_timer(3252)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Jan&nbsp; 5 16:20:14 -
/usr/local/sbin/kamailio[16672]: WARNING: &lt;core&gt; [mem/q_malloc.c:450]:
qm_free: freeing frag. 0x82f93f0 alloc\'ed from nathelper: nathelper.c: nh_timer(3143)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Is this ok?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>How can I remove such debug?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Ricardo
Martinez<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>