<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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<br>
    <br>
    <div class="moz-cite-prefix">On 10/03/14 14:37, Camila Troncoso
      wrote:<br>
    </div>
    <blockquote
      cite="mid:dcefcd2b3a2a2272dee44fcbab8489fa@mail.gmail.com"
      type="cite">
      <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:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 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>
      <div class="WordSection1">
        <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" style="border-collapse:collapse"
          border="0" cellpadding="0" cellspacing="0" width="649"
          align="left">
          <tbody>
            <tr style="height:69.25pt">
              <td style="width:140.1pt;padding:0cm 5.4pt 0cm
                5.4pt;height:69.25pt" valign="top" width="187">
                <p class="MsoNormal" style=""><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"><img
                        id="_x0030__x0020_Imagen"
                        src="cid:part1.08070604.09070606@gmail.com"
                        height="79" width="188"></span></b><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"
                      lang="ES-CL"></span></b></p>
              </td>
              <td style="width:346.6pt;padding:0cm 5.4pt 0cm
                5.4pt;height:69.25pt" valign="top" width="462">
                <p class="MsoNormal" style="line-height:14.0pt"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"><br>
                      Camila Troncoso Solar </span></b><b><span
                      style="font-size:10.0pt;font-family:"Trebuchet
                      MS","sans-serif";color:#aca700">|</span></b><span
                    style="font-size:10.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:gray"> </span><span
                    style="font-size:10.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:black">Ingeniero
                    de Desarollo</span><b><span
                      style="font-size:10.0pt;color:#1f497d"></span></b></p>
                <p class="MsoNormal" style="line-height:14.0pt"><span
                    style="font-size:9.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:gray">+56 2
                    22408535 </span><b><span
                      style="font-size:9.0pt;font-family:"Trebuchet
                      MS","sans-serif";color:#aab400">·</span></b><span
                    style="font-size:9.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:gray"> +56 9
                    97327220 </span><span
                    style="font-size:8.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:#595959"> </span><span
                    style="font-size:8.0pt;color:#aca700">|   </span><span
                    style="font-size:9.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:#aab400"><a
                      moz-do-not-send="true"
                      href="mailto:ctroncoso@redvoiss.net">ctroncoso@redvoiss.net</a><u>
                    </u></span><span style="color:#aca700"></span></p>
                <p class="MsoNormal" style="line-height:14.0pt"><span
                    style="font-size:8.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:#595959">Badaj</span><span
                    style="font-size:8.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:#595959">o</span><span
                    style="font-size:8.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:#595959">z
                    130, piso 16, Las Condes   </span><span
                    style="font-size:8.0pt;color:#aca700">|  </span><span
                    style="font-size:8.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:#595959">Santiago</span><span
                    style="font-size:8.0pt;color:#aca700">  - CHILE</span><span
                    style="font-size:8.0pt;font-family:"Trebuchet
                    MS","sans-serif";color:#595959">   </span><span
                    style="font-size:8.0pt;color:#aca700">|  </span><i><u><span
                        style="font-size:8.0pt;font-family:"Trebuchet
MS","sans-serif";color:gray;letter-spacing:1.5pt"><a
                          moz-do-not-send="true"
                          href="http://www.redvoiss.com">www.redvoiss.com</a></span></u></i><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"
                      lang="ES-CL"></span></b></p>
              </td>
            </tr>
          </tbody>
        </table>
        <p class="MsoNormal"> </p>
        <p class="MsoNormal"> </p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<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>
</pre>
    </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>
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
<a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>