<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 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 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 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 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 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 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 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 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 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 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 href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a 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>