<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML con formato previo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
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";
        color:black;}
span.TextodegloboCar
        {mso-style-name:"Texto de globo Car";
        mso-style-priority:99;
        mso-style-link:"Texto de globo";
        font-family:"Tahoma","sans-serif";}
span.EstiloCorreo19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLconformatoprevioCar
        {mso-style-name:"HTML con formato previo Car";
        mso-style-priority:99;
        mso-style-link:"HTML con formato previo";
        font-family:Consolas;
        color:black;}
span.EstiloCorreo22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body bgcolor="white" lang="ES" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span style="color:#1f497d">Daniel, </span></p><p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">I haven’t use  the –m command. </span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">I´m running kamailio 3.2.4 version.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1f497d">The command </span><span lang="EN-US">kamctl stats is  not available.</span></p><p class="MsoNormal">
<span lang="EN-US"> </span></p><p class="MsoNormal">Regards, </p><p class="MsoNormal"> </p><p class="MsoNormal">Camila<br><br><span style="color:#1f497d"></span></p><p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">De:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> <a href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a> [mailto:<a href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a>] <b>En nombre de </b>Daniel-Constantin Mierla<br>
<b>Enviado el:</b> lunes, 10 de marzo de 2014 11:52<br><b>Para:</b> Kamailio (SER) - Users Mailing List<br><b>Asunto:</b> Re: [SR-Users] Kamailio LCR unable to relay new calls, memory issue</span></p></div></div><p class="MsoNormal">
 </p><p class="MsoNormal" style="margin-bottom:12.0pt">Hello,<br><br>how much shared memory have you allocated to kamailio? In other words, have you given any value via -m command line parameter?<br><br>You can see it also via:<br>
<br>kamctl stats<br><br>Look for shmem fields.<br><br>Cheers,<br>Daniel</p><div><p class="MsoNormal">On 10/03/14 14:37, Camila Troncoso wrote:</p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><p class="MsoNormal">
<span lang="EN-US">Hi,</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Last Friday I presented a increase of load in kamailio by a client. The load was almost twice as usual. By that time I encountered with many issues in kamailio. The calls were not relay to gateways, and a lot of messages about memory were appearing in log file. Kamailio didn’t crash.  When I remove the extra traffic all went back to normal. Is there a issue about memory leak or about to few memory resources to manage this amount of traffic?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_reply.c:1799]: ERROR: relay_reply: cannot alloc reply shmem</span></p><p class="MsoNormal"><span lang="EN-US">ERROR: <core> [msg_translator.c:1782]: ERROR: build_req_buf_from_sip_req: out of memory</span></p>
<p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_fwd.c:431]: ERROR: print_uac_request: no shm mem</span></p><p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_fwd.c:1534]: ERROR: t_forward_nonack: failure to add branches</span></p>
<p class="MsoNormal"><span lang="EN-US">ERROR: tm [tm.c:1369]: ERROR: w_t_relay_to: t_relay_to failed</span></p><p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_reply.c:598]: ERROR: _reply_light: cannot allocate shmem buffer</span></p>
<p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_msgbuilder.c:371]: ERROR: cannot allocate shared memory</span></p><p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_msgbuilder.c:521]: ERROR: build_local_reparse: cannot build ACK request</span></p>
<p class="MsoNormal"><span lang="EN-US">MERROR: tm [t_msgbuilder.c:371]: ERROR: cannot allocate shared memory</span></p><p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_msgbuilder.c:521]: ERROR: build_local_reparse: cannot build ACK request</span></p>
<p class="MsoNormal">ERROR: sl [sl_funcs.c:282]: ERROR: sl_reply_error used: No error (2/SL)</p><p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US">ERROR: <core> [msg_translator.c:1782]: ERROR: build_req_buf_from_sip_req: out of memory</span></p>
<p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_fwd.c:431]: ERROR: print_uac_request: no shm mem</span></p><p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_fwd.c:1534]: ERROR: t_forward_nonack: failure to add branches</span></p>
<p class="MsoNormal"><span lang="EN-US">ERROR: tm [tm.c:1369]: ERROR: w_t_relay_to: t_relay_to failed</span></p><p class="MsoNormal">ERROR: sl [sl_funcs.c:282]: ERROR: sl_reply_error used: No error (2/SL)</p><p class="MsoNormal">
<span lang="EN-US">ERROR: <core> [sip_msg_clone.c:506]: ERROR: sip_msg_cloner: cannot allocate memory</span></p><p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_lookup.c:1338]: ERROR: new_t: out of mem:</span></p>
<p class="MsoNormal"><span lang="EN-US">ERROR: tm [t_lookup.c:1478]: ERROR: t_newtran: new_t failed</span></p><p class="MsoNormal"><span lang="EN-US">ERROR: sl [sl_funcs.c:282]: ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL)</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Regards, </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal">
<span lang="EN-US">Camila</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left" width="649" style="width:486.75pt;border-collapse:collapse">
<tr style="height:69.25pt"><td width="187" valign="top" style="width:140.1pt;padding:0cm 5.4pt 0cm 5.4pt;height:69.25pt"><p class="MsoNormal" style><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><img width="188" height="79" id="_x0030__x0020_Imagen" src="cid:image001.gif@01CF3C5E.443A7D70"></span></b></p>
</td><td width="462" valign="top" style="width:346.6pt;padding:0cm 5.4pt 0cm 5.4pt;height:69.25pt"><p class="MsoNormal" style="line-height:14.0pt"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Camila Troncoso Solar </span></b><b><span style="font-size:10.0pt">|</span></b><span style="font-size:10.0pt"> Ingeniero de Desarollo</span></p><p class="MsoNormal" style="line-height:14.0pt"><span style="font-size:9.0pt">+56 2 22408535 <b>·</b> +56 9 97327220 </span><span style="font-size:8.0pt"> </span><span style="font-size:8.0pt;color:#aca700">|   </span><span style="font-size:9.0pt"><a href="mailto:ctroncoso@redvoiss.net">ctroncoso@redvoiss.net</a><u> </u></span></p>
<p class="MsoNormal" style="line-height:14.0pt"><span style="font-size:8.0pt">Badajoz 130, piso 16, Las Condes   </span><span style="font-size:8.0pt;color:#aca700">|  </span><span style="font-size:8.0pt">Santiago</span><span style="font-size:8.0pt;color:#aca700">  - CHILE</span><span style="font-size:8.0pt">   </span><span style="font-size:8.0pt;color:#aca700">|  </span><i><u><span style="font-size:8.0pt"><a href="http://www.redvoiss.com">www.redvoiss.com</a></span></u></i></p>
</td></tr></table><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br><br><br></span></p><pre>_______________________________________________</pre>
<pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list</pre><pre><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a></pre><pre><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></pre>
</blockquote><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br><br></span></p><pre>-- </pre><pre>Daniel-Constantin Mierla - <a href="http://www.asipto.com">http://www.asipto.com</a></pre>
<pre><a href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre><pre>Kamailio World Conference - April 2-4, 2014, Berlin, Germany</pre>
<pre><a href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre></div></body></html>