<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hello all,</tt><tt><br>
      </tt><tt><br>
      </tt><tt>Just for the sake of completion, the memory leak was i</tt><tt>dentified
        and fixed by Liviu . See:</tt><tt><br>
      </tt><tt>     </tt><tt></tt><tt><a class="moz-txt-link-freetext"
href="https://github.com/OpenSIPS/opensips/commit/e5ccde131eb72debd9aa400ced2e1e31bd61612d">https://github.com/OpenSIPS/opensips/commit/e5ccde131eb72debd9aa400ced2e1e31bd61612d</a></tt><tt><br>
      </tt>
      <pre wrap="">Regards,
</pre>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 10.09.2014 11:02, Bogdan-Andrei Iancu wrote:<br>
    </div>
    <blockquote cite="mid:541005B3.7040404@opensips.org" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix"><tt>Hi Kevin,</tt><tt><br>
        </tt><tt><br>
        </tt><tt>First just checking if:</tt><tt><br>
        </tt><tt>    - the "out of mem" was report</tt><tt>ed for pkg
          memory (and not for shm)</tt><tt><br>
        </tt><tt>    - you sent the SIGUSR1 signal to the process
          complaining about lack </tt><tt>of mem</tt><tt><br>
        </tt><tt><br>
        </tt><tt>IF you look </tt><tt>at the dump:</tt><tt><br>
        </tt><tt>    </tt><tt>used= 1630504, used+overhead=4188560,
          free=5744</tt><tt><br>
        </tt><tt>but there are only 64 fragments with avg len &lt; 100,
          so not more than 100K or so.... it is a bit strange. I
          remember some fixes in that area (where the stats for
          available mem were kept) - what exact version of OpenSIPS are
          you using ?</tt><tt><br>
        </tt><tt><br>
        </tt><tt>Thanks and regards,</tt><br>
        <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
        On 09.09.2014 15:56, Kevin Mathy wrote:<br>
      </div>
      <blockquote
cite="mid:CAOmzhXmuu+rv2gOh2Lp10gx5vHTfkGXPMWA1zeXvZWpjLdbOtA@mail.gmail.com"
        type="cite">
        <div dir="ltr">Hi Bogdan, 
          <div><br>
          </div>
          <div>I've got now a memdump ! </div>
          <div><a moz-do-not-send="true"
              href="https://www.dropbox.com/s/5hb678r0ym9vtt1/memdump1.txt?dl=0">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 : </div>
          <div><a moz-do-not-send="true"
href="https://www.dropbox.com/s/hqurr3ilamc0a0g/opensips_processes_list.txt?dl=0">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>
          <div><br>
          </div>
          <div>Thanks for your help, </div>
          <div><br>
          </div>
          <div>Kevin</div>
          <div><br>
            <div class="gmail_extra"><br clear="all">
              <div><b>
                  <div><span style="font-weight:normal">Bien
                      cordialement, </span></div>
                  <div><span style="font-weight:normal">Best Regards, </span></div>
                  <div><span style="font-weight:normal"><br>
                    </span></div>
                </b><b>Kevin MATHY</b> |<b> </b>Ingénieur VoIP<br>
                <div>
                  <div><b><br>
                    </b></div>
                </div>
              </div>
              <br>
              <div class="gmail_quote">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>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                  <div text="#000000" bgcolor="#FFFFFF">
                    <div><tt>Hi Kevin,<br>
                        <br>
                        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>
                      </tt><span class="">
                        <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>
                    <br>
                  </div>
                </blockquote>
              </div>
              <br>
            </div>
          </div>
        </div>
        <br>
        <img moz-do-not-send="true"
src="http://www.hexanet.fr/sites/files/hexanet/files/utilities/signature_hexanet.gif"></blockquote>
      <br>
      <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>