<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 29.01.2021 15:47, Alain Bieuzent
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:021129D0-C91C-4FF3-A718-75533E4757B2@free.fr">
      <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
          lang="EN-US">However, we don’t use t_on_branch on our script,
          install the nightly packages, can you still help?<o:p></o:p></span></p>
      <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
          lang="EN-US">Thanks</span></p>
    </blockquote>
    <p><tt>Thankfully, you are using 3.1 and the debugging should be
        much easier.  Please make sure to have:</tt></p>
    <p><tt>* the "-a Q_MALLOC_DBG" command-line option for the
        "opensips" binary.  This will activate the debugging allocator,
        which may increase PKG + SHM memory usage by 30%, so make sure
        to give it plenty.</tt><tt><br>
      </tt><tt>* the global setting "memdump = -1" in your opensips.cfg
        file</tt><tt><br>
      </tt></p>
    <p><tt>Once ready, restart it, so it starts accumulating debugging
        data.</tt></p>
    <p><tt>Once you think enough time has passed, you can do
        "opensips-cli -x mi mem_pkg_dump <linux_pid>" and then
        provide the output from your opensips.log file.  The process you
        choose will dump its PKG memory pool.</tt></p>
    <p><tt>Regards,</tt><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
  </body>
</html>