<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I quickly looked over the modules that use shared memory and I
    couldn't spot a commit related to any leak.<br>
    <br>
    Have you had the chance to compile with  MEMDBG?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 19/08/14 19:14, Heenan, Timothy
      Steven wrote:<br>
    </div>
    <blockquote
cite="mid:2DB6BB728D67D3458F08F1E4AC6284941F550A@CWWAPP473.windstream.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Do you think
            any of these modules possibly causing this issue?
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">-Tim<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                <a class="moz-txt-link-abbreviated" href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a>
                [<a class="moz-txt-link-freetext" href="mailto:sr-users-bounces@lists.sip-router.org">mailto:sr-users-bounces@lists.sip-router.org</a>]
                <b>On Behalf Of </b>Heenan, Timothy Steven<br>
                <b>Sent:</b> Tuesday, August 12, 2014 2:37 PM<br>
                <b>To:</b> '<a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a>'; Kamailio (SER) - Users
                Mailing List<br>
                <b>Subject:</b> Re: [SR-Users] Kamailio 4.0.4 slow
                memory leak<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">Hi Daniel, <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Here’s a list
            of the modules I’m running:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">mi_fifo<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">db_mysql<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">sl<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">kex<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">tm<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">tmx<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">rr<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">xlog<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">maxfwd<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">usrloc<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">registrar<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">textops<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">pv<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">acc<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">permissions<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">siputils<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">auth<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">lcr<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">dispatcher<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">sanity<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">debugger<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">siptrace<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">We’re setting
            the memory allocation to 256 ( -m 256 –M 64 ).<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">I’ll see about
            recompiling with MEMDBG=1.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Regards, <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">- Tim<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                <a moz-do-not-send="true"
                  href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a>
                [<a moz-do-not-send="true"
                  href="mailto:sr-users-bounces@lists.sip-router.org">mailto:sr-users-bounces@lists.sip-router.org</a>]
                <b>On Behalf Of </b>Daniel-Constantin Mierla<br>
                <b>Sent:</b> Tuesday, August 12, 2014 4:17 AM<br>
                <b>To:</b> Kamailio (SER) - Users Mailing List<br>
                <b>Subject:</b> Re: [SR-Users] Kamailio 4.0.4 slow
                memory leak<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Hello,<br>
          <br>
          can you give the list of loaded modules? How much memory did
          you allocate (-m parameter value)?<br>
          <br>
          It will narrow down searches to see if there was anything
          similar fixed since 4.0.4.<br>
          <br>
          To troubleshoot easier, would be good to recompile with
          MEMDBG=1, then the details of chunks in memory can be dumped
          and analysed.<br>
          <br>
          Cheers,<br>
          Daniel<o:p></o:p></p>
        <div>
          <p class="MsoNormal">On 12/08/14 01:40, Heenan, Timothy Steven
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal">Greetings, <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">I’m running into a slow memory leak on my
            kamailio 4.0.4 SIP proxies. I’m observing a steady increase
            in the memory consumption until there is no more left.
            Kamailio then starts repeating this in the logs:<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">ERROR: dispatcher [dispatch.c:279]:
            add_dest2list(): no more memory.<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">What would be the best way to debug this
            kind of a memory leak? The proxy does not handle any
            registrations but does route a fair amount of calls.
            <br>
            <br>
            Thank you in advance, <o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#8B8D8E">Tim
                Heenan</span></b><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7DBA00">Engineer
                I - VoIPWholesale | Windstream</span></b><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><a
              moz-do-not-send="true" href="mailto:email@windstream.com"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#8B8D8E">timothy.heenan@windstream.com</span></a><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#8B8D8E">
              | </span><a moz-do-not-send="true"
              href="http://www.windstreambusiness.com/"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#8B8D8E">windstreambusiness.com</span></a><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#8B8D8E">o:
              847.348.1338 | f: 847.963.0116</span><o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <div class="MsoNormal" style="text-align:center"
            align="center"><span
              style="font-size:12.0pt;font-family:"Times New
              Roman","serif"">
              <hr align="center" size="2" width="100%">
            </span></div>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><span
              style="font-size:12.0pt;font-family:"Times New
              Roman","serif"">This email message and any
              attachments are for the sole use of the intended
              recipient(s). Any unauthorized review, use, disclosure or
              distribution is prohibited. If you are not the intended
              recipient, please contact the sender by reply email and
              destroy all copies of the original message and any
              attachments.<br>
              <br>
              <br>
              <o:p></o:p></span></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></pre>
        </blockquote>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif""><o:p> </o:p></span></p>
        <pre>-- <o:p></o:p></pre>
        <pre>Daniel-Constantin Mierla<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a><o:p></o:p></pre>
        <pre>Next Kamailio Advanced Trainings 2014 - <a moz-do-not-send="true" href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></pre>
        <pre>Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA<o:p></o:p></pre>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Next Kamailio Advanced Trainings 2014 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA</pre>
  </body>
</html>