<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texto de globo Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.TextodegloboCar
{mso-style-name:"Texto de globo Car";
mso-style-priority:99;
mso-style-link:"Texto de globo";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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 link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span lang=EN-US>Hello,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>We had been experiencing memory leaks
issues with our Kamailio deployment. Some of the process started to use all
their assigned memory and arises allocation memory errors. Using the “kill
–SIGUSR1” as explained in the Kamailio wiki and found the problem:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:04 localhost
/sbin/kamailio[17275]: INFO: <core> [main.c:788]: INFO: signal 15
received<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:04 localhost
/sbin/kamailio[17275]: INFO: <core> [main.c:799]: Memory status (pkg):<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:04 localhost
/sbin/kamailio[17275]: INFO: qm_status: (0x885a60):<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:04 localhost
/sbin/kamailio[17275]: INFO: qm_status: heap size= 67108864<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:04 localhost
/sbin/kamailio[17275]: INFO: qm_status: used= 60641440, used+overhead=67096424,
free=12440<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:04 localhost
/sbin/kamailio[17275]: INFO: qm_status: max used (+overhead)= 67102896<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:04 localhost
/sbin/kamailio[17275]: INFO: qm_status: dumping all alloc'ed. fragments:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:04 localhost
/sbin/kamailio[17275]: INFO: qm_status: 0. N address=0x8baf78
frag=0x8baf48 size=16 used=1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:04 localhost
/sbin/kamailio[17275]: INFO: qm_status: alloc'd from <core>:
rvalue.c: mk_rval_expr_v(2452)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:04 localhost
/sbin/kamailio[17275]: INFO: qm_status: start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: 1618. N address=0x95e920 frag=0x95e8f0
size=936 used=1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: alloc'd from <core>:
rvalue.c: rval_new_empty(233)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: 1633. N address=0x95f528
frag=0x95f4f8 size=936 used=1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: alloc'd from <core>:
rvalue.c: rval_new_empty(233)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: 1634. N address=0x95f930
frag=0x95f900 size=936 used=1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: alloc'd from <core>:
rvalue.c: rval_new_empty(233)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: 1696. N address=0x962298
frag=0x962268 size=944 used=1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: alloc'd from <core>:
rvalue.c: rval_new_empty(233)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:06 localhost
/sbin/kamailio[17275]: INFO: qm_status: start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>. (the rvalue.c repeats all the time)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:23 localhost
/sbin/kamailio[17275]: INFO: qm_status: 64963. N address=0x4885118
frag=0x48850e8 size=944 used=1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:23 localhost
/sbin/kamailio[17275]: INFO: qm_status: alloc'd from <core>:
rvalue.c: rval_new_empty(233)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:23 localhost
/sbin/kamailio[17275]: INFO: qm_status: start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:23 localhost
/sbin/kamailio[17275]: INFO: qm_status: 64964. N address=0x4885528
frag=0x48854f8 size=1288 used=1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:23 localhost
/sbin/kamailio[17275]: INFO: qm_status: alloc'd from <core>:
rvalue.c: rval_new_empty(233)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sep 8 11:34:23 localhost
/sbin/kamailio[17275]: INFO: qm_status: start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>We saw there was several core memory leaks
resolved in the 3.0.3 version (we had the 3.0.2), so we decided to upgrade to
that version. Now I was trying to check the memory status of the process (in
order to see if the problem is arising again) with “kill –SIGUSR1”
but now only show the memory status of the shm and the memory of the attendant
process (the one who launch the other ones). I had tried to send the signal to
each of the son process but I see nothing in the log.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Is this a new bug or is that there is other
new way to see the memory status of the processes? <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Thanks in advance,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0>
<tr>
<td style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><img width=500 height=25 id="_x0000_i1026"
src="http://www.alhambra-eidos.es/CO/1.gif"
alt="http://www.alhambra-eidos.es/CO/1.gif"><span lang=EN-US
style='font-size:12.0pt'><o:p></o:p></span></p>
</td>
</tr>
<tr style='height:22.5pt'>
<td width=500 style='width:375.0pt;background:#6600A1;padding:0cm 0cm 0cm 0cm;
height:22.5pt'>
<p class=MsoNormal align=center style='text-align:center'><b><span
lang=EN-US style='font-family:"Arial","sans-serif";color:white'>César Pinto</span></b><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:white'>. ICM Team +34 91 787 23 00</span></b><span
lang=EN-US style='font-size:12.0pt'><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><a href="http://www.alhambra-eidos.es/" target="_blank"><span
style='color:blue;text-decoration:none'><img border=0 width=500 height=67
id="_x0000_i1025" src="http://www.alhambra-eidos.es/CO/3.gif"
alt="http://www.alhambra-eidos.es/CO/3.gif"></span></a><span lang=EN-US
style='font-size:12.0pt'><o:p></o:p></span></p>
</td>
</tr>
</table>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
</body>
</html>