<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, John!<br>
      <br>
      I think you might spot something. Can you apply this patch[1] and
      try again?<br>
      <br>
      [1]
      <a class="moz-txt-link-freetext" href="https://gist.github.com/razvancrainea/03a43bfa8b554a7ca89f2740a3c54c96">https://gist.github.com/razvancrainea/03a43bfa8b554a7ca89f2740a3c54c96</a><br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 03/10/2017 10:02 AM, John Nash
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAA4rGPxnTq2_nVM4bnxL8aSV+QLVshSoTrbKtdgh_0y9LBY0_g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Dear Razvan,
        <div><br>
        </div>
        <div>I think I found one issue in do_routing function if i
          pass gw_whitelist then only i see this drop of memory. If I
          skip this parameter private memory does not increase with
          every call.</div>
        <div><br>
        </div>
        <div>Regards</div>
        <div><br>
        </div>
        <div>Manoj</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Mar 9, 2017 at 7:29 PM, John
          Nash <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:john.nash778@gmail.com" target="_blank">john.nash778@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">If I use 2.2 will it give clearer picture of
              memory allocation? or 2.3</div>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">
                <div>
                  <div class="h5">On Thu, Mar 9, 2017 at 7:21 PM, Răzvan
                    Crainea <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:razvan@opensips.org"
                        target="_blank">razvan@opensips.org</a>></span>
                    wrote:<br>
                  </div>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div>
                    <div class="h5">
                      <div bgcolor="#FFFFFF" text="#000000"> There's no
                        need for that. No function should leak in any
                        circumstances :) <span>
                          <pre class="m_-7399488516596190498m_-8965347838969375055moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="m_-7399488516596190498m_-8965347838969375055moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
                        </span>
                        <div>
                          <div class="m_-7399488516596190498h5">
                            <div
                              class="m_-7399488516596190498m_-8965347838969375055moz-cite-prefix">On
                              03/09/2017 03:27 PM, John Nash wrote:<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="ltr">OK..May i send you my
                                script privately?</div>
                              <div class="gmail_extra"><br>
                                <div class="gmail_quote">On Thu, Mar 9,
                                  2017 at 6:13 PM, Răzvan Crainea <span
                                    dir="ltr"><<a
                                      moz-do-not-send="true"
                                      href="mailto:razvan@opensips.org"
                                      target="_blank">razvan@opensips.org</a>></span>
                                  wrote:<br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    <div bgcolor="#FFFFFF"
                                      text="#000000"> <tt>Hi, John!<br>
                                        <br>
                                        No, I nothing is suspicious.
                                        Definitely not from the drouting
                                        module.<br>
                                        Try to make two captures: one
                                        after 10 calls, another one
                                        after 20 calls.<br>
                                        <br>
                                        Best regards,<br>
                                      </tt><span>
                                        <pre class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
                                      </span>
                                      <div>
                                        <div
                                          class="m_-7399488516596190498m_-8965347838969375055h5">
                                          <div
class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107moz-cite-prefix">On
                                            03/09/2017 01:50 PM, John
                                            Nash wrote:<br>
                                          </div>
                                          <blockquote type="cite">
                                            <div dir="ltr">Do you see
                                              anything suspicious in the
                                              latest mem dump? </div>
                                            <div class="gmail_extra"><br>
                                              <div class="gmail_quote">On
                                                Wed, Mar 8, 2017 at 7:20
                                                PM, John Nash <span
                                                  dir="ltr"><<a
                                                    moz-do-not-send="true"
href="mailto:john.nash778@gmail.com" target="_blank">john.nash778@gmail.com</a>></span>
                                                wrote:<br>
                                                <blockquote
                                                  class="gmail_quote"
                                                  style="margin:0 0 0
                                                  .8ex;border-left:1px
                                                  #ccc
                                                  solid;padding-left:1ex">
                                                  <div dir="ltr">One
                                                    more useful info. I
                                                    disabled drouting
                                                    functions and just
                                                    rewrote RURI to
                                                    hardcoded address
                                                    keeping rest of the
                                                    functions same and I
                                                    do not see drop in
                                                    private memory of
                                                    that process.</div>
                                                  <div
class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107HOEnZb">
                                                    <div
class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107h5">
                                                      <div
                                                        class="gmail_extra"><br>
                                                        <div
                                                          class="gmail_quote">On
                                                          Wed, Mar 8,
                                                          2017 at 4:40
                                                          PM, John Nash
                                                          <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:john.nash778@gmail.com"
                                                          target="_blank">john.nash778@gmail.com</a>></span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          <div dir="ltr">OK
                                                          Here is the
                                                          dump
                                                          <div><a
                                                          moz-do-not-send="true"
href="https://drive.google.com/open?id=0BxJKNwFalcRMX0xDUlRIa2VUdG8"
                                                          target="_blank">https://drive.google.com/open?<wbr>id=0BxJKNwFalcRMX0xDUlRIa2VUdG<wbr>8</a><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>I
                                                          increased
                                                          syslog message
                                                          rate to
                                                          500000, Made
                                                          around 10 call
                                                          attempts.
                                                          Waited for
                                                          some time and
                                                          made sure no
                                                          call is on
                                                          server and
                                                          then sent
                                                          signal to dump
                                                          memory to the
                                                          process ID i
                                                          suspect.</div>
                                                          </div>
                                                          <div
class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107m_-6775075754875813829HOEnZb">
                                                          <div
class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107m_-6775075754875813829h5">
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <div
                                                          class="gmail_quote">On
                                                          Wed, Mar 8,
                                                          2017 at 4:07
                                                          PM, Răzvan
                                                          Crainea <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          <div
                                                          bgcolor="#FFFFFF"
                                                          text="#000000">
                                                          <tt>No, you
                                                          should not
                                                          kill any
                                                          process.
                                                          Simply send a
                                                          SIGUSR1 to the
                                                          process you
                                                          suspect.<br>
                                                          </tt><span>
                                                          <pre class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107m_-6775075754875813829m_2381737702605022529m_1855888088469774506moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107m_-6775075754875813829m_2381737702605022529m_1855888088469774506moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
                                                          </span>
                                                          <div>
                                                          <div
class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107m_-6775075754875813829m_2381737702605022529h5">
                                                          <div
class="m_-7399488516596190498m_-8965347838969375055m_-6234719319706105107m_-6775075754875813829m_2381737702605022529m_1855888088469774506moz-cite-prefix">On
                                                          03/08/2017
                                                          12:28 PM, John
                                                          Nash wrote:<br>
                                                          </div>
                                                          <blockquote
                                                          type="cite">
                                                          <div dir="ltr">Sorry...Should
                                                          I kill only
                                                          the process
                                                          where i see
                                                          memory leak?<br>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                              </div>
                                            </div>
                                          </blockquote>
                                        </div>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </div>
                      </div>
                      <br>
                    </div>
                  </div>
                  <span class="">______________________________<wbr>_________________<br>
                    Users mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:Users@lists.opensips.org"
                      target="_blank">Users@lists.opensips.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                      rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
                    <br>
                  </span></blockquote>
              </div>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <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>