<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      Can you please upgrade to the latest 1.11 from GIT ?<br>
      There has been a fix related to this on GIT starting from
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/ea9191b6993a36b6190eb218f318d0a876421311">https://github.com/OpenSIPS/opensips/commit/ea9191b6993a36b6190eb218f318d0a876421311</a><br>
      <br>
      Best Regards,<br>
      <pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
      On 10.09.2014 12:58, Mickael Hubert wrote:<br>
    </div>
    <blockquote
cite="mid:CAFSwG-vHMMApAutH7h2=t4tkhZ8eB1Hr60n8WM9LKKS5HCz7=g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi Bogdan,<br>
        </div>
        in addition, we use these options: "-m 64 -M 4" and in
        opensips.cfg "children=20"<br>
        <pre class=""><span style="font-family:arial,helvetica,sans-serif"><font>private memory: 4 Mo
</font></span></pre>
        <pre class=""><span style="font-family:arial,helvetica,sans-serif"><font>Share memory: 64Mo</font></span>
<span style="font-family:arial,helvetica,sans-serif"><font>
We use a server with 16Go of ram</font></span>

</pre>
        <pre class="">it's good conf ?
</pre>
        <pre class="">
</pre>
        <pre class=""><span style="font-family:arial,helvetica,sans-serif"><font>Thanks a lot for your help.</font></span>
</pre>
        <div>
          <div>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">2014-09-10 11:44 GMT+02:00 Kevin
                Mathy <span dir="ltr">&lt;<a moz-do-not-send="true"
                    href="mailto:k.mathy@hexanet.fr" target="_blank">k.mathy@hexanet.fr</a>&gt;</span>:<br>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div dir="ltr">Hi Bogdan,&nbsp;
                    <div><br>
                    </div>
                    <div>Here's the version of opensips we use :</div>
                    <div>
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px 0.8ex;border-left:1px solid
                        rgb(204,204,204);padding-left:1ex">[root@asbc2b
                        kemathy]# /usr/local/sbin/opensips -V<span
                          class=""><br>
                          version: opensips 1.11.2-notls (x86_64/linux)<br>
                          flags: STATS: On, USE_IPV6, USE_TCP,
                          DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP,
                          PKG_MALLOC, DBG_QM_MALLOC,
                          FAST_LOCK-ADAPTIVE_WAIT<br>
                          ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE
                          262144, MAX_LISTEN 16, MAX_URI_SIZE 1024,
                          BUF_SIZE 65535<br>
                          poll method support: poll, epoll_lt, epoll_et,
                          sigio_rt, select.<br>
                        </span>git revision: ff23ed0<br>
                        main.c compiled on 19:24:42 Jul 23 2014 with gcc
                        4.4.7</blockquote>
                      <div><br>
                      </div>
                      <div>About those points :&nbsp;</div>
                      <span class=""><tt>&nbsp; "- the "out of mem" was
                          report</tt><tt>ed for pkg memory (and not for
                          shm)"</tt><tt>&nbsp;&nbsp;</tt></span></div>
                    <div><tt>==&gt; The out of mem was reported for pkg
                        memory</tt></div>
                    <span class="">
                      <div><tt>&nbsp;</tt></div>
                      <div><tt>" - you sent the SIGUSR1 signal to the
                          process complaining about lack&nbsp;</tt><tt>of mem</tt>&nbsp;"</div>
                    </span>
                    <div>==&gt; I don't know if I made it well... So,
                      here are two links pointing to other memdumps,
                      taken on processes which seem to lack of mem</div>
                    <div><br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0px
                      0px 0px 0.8ex;border-left:1px solid
                      rgb(204,204,204);padding-left:1ex">Sep 10 05:34:05
                      asbc2b /usr/local/sbin/opensips[920]:
                      ERROR:core:build_res_buf_from_sip_req: out of pkg
                      memory; needs 522<br>
                      Sep 10 05:34:04 asbc2b
                      /usr/local/sbin/opensips[923]:
                      ERROR:core:received_builder: out of pkg memory<br>
                      Sep 10 05:33:57 asbc2b
                      /usr/local/sbin/opensips[937]:
                      ERROR:core:parse_headers: pkg memory allocation
                      failed<br>
                      Sep 10 05:33:57 asbc2b
                      /usr/local/sbin/opensips[937]:
                      ERROR:core:add_lump_rpl: no free pkg memory !</blockquote>
                    <div class="gmail_extra">
                      <div class="gmail_extra"><br>
                      </div>
                      <div class="gmail_extra"><a moz-do-not-send="true"
href="https://www.dropbox.com/s/p62hb16wpk0i86e/memdump_process_920.txt?dl=0"
                          target="_blank">https://www.dropbox.com/s/p62hb16wpk0i86e/memdump_process_920.txt?dl=0</a><br>
                      </div>
                      <div class="gmail_extra"><a moz-do-not-send="true"
href="https://www.dropbox.com/s/uim49o6zvj6zvu3/memdump_process_923.txt?dl=0"
                          target="_blank">https://www.dropbox.com/s/uim49o6zvj6zvu3/memdump_process_923.txt?dl=0</a><br>
                      </div>
                      <div class="gmail_extra"><a moz-do-not-send="true"
href="https://www.dropbox.com/s/c6tksw4j4lgk5d3/memdump_process_937.txt?dl=0"
                          target="_blank">https://www.dropbox.com/s/c6tksw4j4lgk5d3/memdump_process_937.txt?dl=0</a><br>
                      </div>
                      <div class="gmail_extra"><br>
                      </div>
                      <div class="gmail_extra">So now, I'm sure that the
                        memdumps I've taken concern processes impacted
                        by the lack of pkg mem...</div>
                      <span class="">
                        <div class="gmail_extra"><br>
                        </div>
                        <div class="gmail_extra">Thanks for your help,&nbsp;</div>
                        <div class="gmail_extra"><br>
                        </div>
                        <div class="gmail_extra">Kevin</div>
                      </span></div>
                    <div class="gmail_extra"><br>
                    </div>
                    <div class="gmail_extra"><br>
                    </div>
                    <div class="gmail_extra"><span class=""><br
                          clear="all">
                        <div><b>
                            <div><span style="font-weight:normal">Bien
                                cordialement,&nbsp;</span></div>
                            <div><span style="font-weight:normal">Best
                                Regards,&nbsp;</span></div>
                            <div><span style="font-weight:normal"><br>
                              </span></div>
                          </b><b>Kevin MATHY</b> |<b>&nbsp;</b>Ing&eacute;nieur VoIP<br>
                          <div>
                            <div><b><br>
                              </b></div>
                          </div>
                        </div>
                        <br>
                      </span>
                      <div>
                        <div class="h5">
                          <div class="gmail_quote">2014-09-10 10:04
                            GMT+02:00 Bogdan-Andrei Iancu <span
                              dir="ltr">&lt;<a moz-do-not-send="true"
                                href="mailto:bogdan@opensips.org"
                                target="_blank">bogdan@opensips.org</a>&gt;</span>:<br>
                            <blockquote class="gmail_quote"
                              style="margin:0px 0px 0px
                              0.8ex;border-left:1px solid
                              rgb(204,204,204);padding-left:1ex">
                              <div text="#000000" bgcolor="#FFFFFF">
                                <div><tt>Kevin,<br>
                                    This is stranger as nothing in the
                                    dump points to a leak/issue - do you
                                    get the out of mem error during a SB
                                    query ?<br>
                                    <br>
                                    Regards,<br>
                                  </tt><span>
                                    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                                  </span>
                                  <div>
                                    <div> On 10.09.2014 09:53, Kevin
                                      Mathy wrote:<br>
                                    </div>
                                  </div>
                                </div>
                                <blockquote type="cite">
                                  <div>
                                    <div>
                                      <div dir="ltr">Hi Bogdan,&nbsp;
                                        <div><br>
                                        </div>
                                        <div>Got the same errors on my
                                          second opensips server (second
                                          node of the cluster). Here is
                                          the memdump :</div>
                                        <div><a moz-do-not-send="true"
href="https://www.dropbox.com/s/d2gacgrxik3xs1t/memdump_server2_1.txt?dl=0"
                                            target="_blank">https://www.dropbox.com/s/d2gacgrxik3xs1t/memdump_server2_1.txt?dl=0</a><br>
                                        </div>
                                        <div><br>
                                        </div>
                                        <div>Thanks for your help,</div>
                                        <div><br>
                                        </div>
                                        <div>Kevin</div>
                                        <div><br>
                                        </div>
                                        <div><br>
                                        </div>
                                      </div>
                                      <div class="gmail_extra"><br
                                          clear="all">
                                        <div><b>
                                            <div><span
                                                style="font-weight:normal">Bien
                                                cordialement,&nbsp;</span></div>
                                            <div><span
                                                style="font-weight:normal">Best
                                                Regards,&nbsp;</span></div>
                                            <div><span
                                                style="font-weight:normal"><br>
                                              </span></div>
                                          </b><b>Kevin MATHY</b> |<b>&nbsp;</b>Ing&eacute;nieur
                                          VoIP<br>
                                          <div>
                                            <div><b><br>
                                              </b></div>
                                          </div>
                                        </div>
                                        <br>
                                        <div class="gmail_quote">2014-09-09
                                          14:56 GMT+02:00 Kevin Mathy <span
                                            dir="ltr">&lt;<a
                                              moz-do-not-send="true"
                                              href="mailto:k.mathy@hexanet.fr"
                                              target="_blank">k.mathy@hexanet.fr</a>&gt;</span>:<br>
                                          <blockquote
                                            class="gmail_quote"
                                            style="margin:0px 0px 0px
                                            0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
                                            <div dir="ltr">Hi Bogdan,&nbsp;
                                              <div><br>
                                              </div>
                                              <div>I've got now a
                                                memdump !&nbsp;</div>
                                              <div><a
                                                  moz-do-not-send="true"
href="https://www.dropbox.com/s/5hb678r0ym9vtt1/memdump1.txt?dl=0"
                                                  target="_blank">https://www.dropbox.com/s/5hb678r0ym9vtt1/memdump1.txt?dl=0</a><br>
                                              </div>
                                              <div><br>
                                              </div>
                                              <div>And if you need the
                                                list of the opensips
                                                processes running at the
                                                moment :&nbsp;</div>
                                              <div><a
                                                  moz-do-not-send="true"
href="https://www.dropbox.com/s/hqurr3ilamc0a0g/opensips_processes_list.txt?dl=0"
                                                  target="_blank">https://www.dropbox.com/s/hqurr3ilamc0a0g/opensips_processes_list.txt?dl=0</a><br>
                                              </div>
                                              <div><br>
                                              </div>
                                              <div>I hope it'll be ok...
                                                If you need more things,
                                                I didn't have restarted
                                                the service yet, so I'm
                                                able to get other
                                                memdumps.</div>
                                              <span>
                                                <div><br>
                                                </div>
                                                <div>Thanks for your
                                                  help,&nbsp;</div>
                                                <div><br>
                                                </div>
                                                <div>Kevin</div>
                                              </span>
                                              <div><br>
                                                <div class="gmail_extra"><span><br
                                                      clear="all">
                                                    <div><b>
                                                        <div><span
                                                          style="font-weight:normal">Bien

                                                          cordialement,&nbsp;</span></div>
                                                        <div><span
                                                          style="font-weight:normal">Best

                                                          Regards,&nbsp;</span></div>
                                                        <div><span
                                                          style="font-weight:normal"><br>
                                                          </span></div>
                                                      </b><b>Kevin MATHY</b>
                                                      |<b>&nbsp;</b>Ing&eacute;nieur
                                                      VoIP<br>
                                                      <div>
                                                        <div><b><br>
                                                          </b></div>
                                                      </div>
                                                    </div>
                                                    <br>
                                                  </span>
                                                  <div
                                                    class="gmail_quote"><span>2014-09-09

                                                      13:06 GMT+02:00
                                                      Bogdan-Andrei
                                                      Iancu <span
                                                        dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span>:<br>
                                                    </span>
                                                    <blockquote
                                                      class="gmail_quote"
                                                      style="margin:0px
                                                      0px 0px
                                                      0.8ex;border-left:1px
                                                      solid
                                                      rgb(204,204,204);padding-left:1ex">
                                                      <div
                                                        text="#000000"
                                                        bgcolor="#FFFFFF">
                                                        <div><tt>Hi
                                                          Kevin,<br>
                                                          <br>
                                                          <span> yes,
                                                          that's the
                                                          right way of
                                                          getting a mem
                                                          dump during
                                                          runtime. Also
                                                          you will
                                                          automatically
                                                          get one during
                                                          the shutdown
                                                          procedure.<br>
                                                          <br>
                                                          Best regards,<br>
                                                          </span></tt><span><span>
                                                          <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                                                          </span></span></div>
                                                        <br>
                                                      </div>
                                                    </blockquote>
                                                  </div>
                                                  <br>
                                                </div>
                                              </div>
                                            </div>
                                          </blockquote>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <br>
                                </blockquote>
                                <br>
                              </div>
                            </blockquote>
                          </div>
                          <br>
                        </div>
                      </div>
                    </div>
                  </div>
                  <br>
                  <img moz-do-not-send="true"
src="http://www.hexanet.fr/sites/files/hexanet/files/utilities/signature_hexanet.gif"></blockquote>
              </div>
              <br>
              <br clear="all">
              <br>
              -- <br>
              <div dir="ltr">Cordialement<br>
                <br>
                HUBERT Micka&euml;l<br>
                Ing&eacute;nieur VOIP - Hexanet<br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <img moz-do-not-send="true"
src="http://www.hexanet.fr/sites/files/hexanet/files/utilities/signature_hexanet.gif"><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>