<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    can you check the expires column in presentity table. The issue
    might be accumulation of too many dialog-info documents, due to
    large expires interval, taken from the default lifetime of the
    dialog. You can change that with:<br>
    <br>
      -
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/4.2.x/modules/pua_dialoginfo.html#idp2576952">http://kamailio.org/docs/modules/4.2.x/modules/pua_dialoginfo.html#idp2576952</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 30/01/15 16:43, Nuno Reis wrote:<br>
    </div>
    <blockquote
cite="mid:CAE2+g+KYBAeZbkF5tkRCzxC+J25xPWfx=Vuu69ogCyCrOY3uvA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Daniel.
        <div><br>
        </div>
        <div>Thanks for answering me back. I'll follow the exact
          procedures from here: <a moz-do-not-send="true"
            href="http://www.kamailio.org/wiki/tutorials/troubleshooting/memory">http://www.kamailio.org/wiki/tutorials/troubleshooting/memory</a>
          and will let you know about my exact finding soon.</div>
        <div><br>
        </div>
        <div>Cheers,</div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature">
            <p><font color="#1f497d" face="'Trebuchet MS', sans-serif">--</font></p>
            <p><b><span
                  style="font-size:8.0pt;font-family:"Trebuchet
                  MS","sans-serif";color:#1f497d">Nuno
                  Miguel Reis</span></b><span
                style="font-size:8.0pt;font-family:"Trebuchet
                MS","sans-serif";color:#133770"> | <b>Unified
                  Communication</b></span><b><span
                  style="font-size:8.0pt;font-family:"Trebuchet
                  MS","sans-serif";color:#1f497d">
                  Systems</span></b><span
                style="font-size:8.0pt;font-family:"Trebuchet
                MS","sans-serif";color:#133770"><br>
                M. <a moz-do-not-send="true" value="+351918919465">+351
                  913907481</a> | <a moz-do-not-send="true"
                  href="mailto:nreis@wavecom.pt" target="_blank"><span
                    style="color:blue">nreis@wavecom.pt</span></a></span><span
                style="font-size:8.0pt;font-family:"Trebuchet
                MS","sans-serif""></span><span
                style="font-size:10.0pt;font-family:"Trebuchet
                MS","sans-serif";color:#1f497d"></span><span
                style="font-size:8.0pt;font-family:"Trebuchet
                MS","sans-serif";color:#133770"><br>
              </span></p>
            <span style="font-size:8.0pt;font-family:"Trebuchet
              MS","sans-serif";color:#133770">WAVECOM-Soluções
              Rádio, S.A.</span><span
              style="font-size:8.0pt;font-family:"Trebuchet
              MS","sans-serif";color:#133770"><br>
              Cacia Park | Rua do Progresso, Lote 15</span><span
              style="font-size:8.0pt;font-family:"Trebuchet
              MS","sans-serif";color:#133770"><br>
              3800-639 AVEIRO | Portugal</span><span
              style="font-size:8pt;font-family:"Trebuchet
              MS","sans-serif";color:rgb(19,55,112)"><br>
              T. <a moz-do-not-send="true" value="+351234919190">+351
                309 700 225</a> | F. <a moz-do-not-send="true"
                value="+351234919191">+351 234 919 191</a></span><span
              style="font-size:8pt;font-family:"Trebuchet
              MS","sans-serif";color:rgb(19,55,112)"><br>
            </span><b><span
                style="font-size:9.0pt;font-family:"Trebuchet
                MS","sans-serif";color:#1f497d"><a
                  moz-do-not-send="true"
href="http://maps.google.com/maps/ms?msa=0&msid=202333747613191340808.0004b4b227a6144f0df88"
                  target="_blank"><span style="color:#1f497d">GPS</span></a>
                | <a moz-do-not-send="true"
                  href="http://www.wavecom.pt/" target="_blank"><span
                    style="color:#1f497d">www.wavecom.pt</span></a></span></b><b><a
                moz-do-not-send="true" href="http://www.wavecom.pt/"
                target="_blank"><span style="color:#1f497d"></span></a></b>
            <p><span style="border-collapse:collapse"></span></p>
            <p><a moz-do-not-send="true"
                href="http://www.wavecom.pt/pt/wavecom/premios.php"
                style="color:rgb(17,85,204)" target="_blank"><span
                  style="text-decoration:none"><img
                    src="cid:part9.08070704.06070106@gmail.com"
                    alt="Description: Description: WavecomSignature"
                    border="0" height="100" width="400"></span></a><span
                style="color:rgb(31,73,125)"></span></p>
            <p><a moz-do-not-send="true"
                href="http://www.wavecom.pt/pt/mail_eventos.php"
                style="color:rgb(17,85,204);font-size:medium;font-family:'Times
                New Roman'" target="_blank"><img moz-do-not-send="true"
                  alt="Publicity"
                  src="http://www.wavecom.pt/email_signature/pub.png"
                  border="0" height="71" width="389"></a>
            </p>
            <p><span><br>
              </span></p>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Fri, Jan 30, 2015 at 5:23 AM,
          Daniel-Constantin Mierla <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:miconda@gmail.com"
              target="_blank">miconda@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">Hello,
              <div><br>
              </div>
              <div>which memory is increasing? shared or private memory?
                or is system memory?</div>
              <div><br>
              </div>
              <div>Cheers,</div>
              <div>Daniel</div>
            </div>
            <div class="gmail_extra">
              <div>
                <div class="h5"><br>
                  <div class="gmail_quote">On Fri, Jan 30, 2015 at 4:24
                    AM, Nuno Reis <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:nreis@wavecom.pt" target="_blank">nreis@wavecom.pt</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">Hi Juha and all.
                        <div><br>
                        </div>
                        <div>I understand that and that is what the RFC
                          says. It seems pua module does that right.
                          Although something is clearly not right in my
                          production environment because kamailio memory
                          consumption still grows pretty fast. Kamailio
                          memory usage starts in ~500MB and after ~24H
                          kamailio is using ~3GB. If I disable kamailio
                          from listening on the localhost(127.0.0.1)
                          where pua is generating the SIP Publishes
                          kamailio just keeps around the ~500MB all the
                          time.</div>
                        <div>This is a small production environment with
                          70 extensions with Yealink phones.</div>
                        <div>Any ideas on how to chase down this memory
                          leak? Should I open a git issue for this one?</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                      </div>
                      <div class="gmail_extra"><span><br clear="all">
                          <div>
                            <div>
                              <p><font color="#1f497d" face="'Trebuchet
                                  MS', sans-serif">--</font></p>
                              <p><b><span
                                    style="font-size:8.0pt;font-family:"Trebuchet
MS","sans-serif";color:#1f497d">Nuno Miguel Reis</span></b><span
                                  style="font-size:8.0pt;font-family:"Trebuchet
MS","sans-serif";color:#133770"> | <b>Unified
                                    Communication</b></span><b><span
                                    style="font-size:8.0pt;font-family:"Trebuchet
MS","sans-serif";color:#1f497d"> Systems</span></b><span
                                  style="font-size:8.0pt;font-family:"Trebuchet
MS","sans-serif";color:#133770"><br>
                                  M. <a moz-do-not-send="true"
                                    value="+351918919465">+351 913907481</a>
                                  | <a moz-do-not-send="true"
                                    href="mailto:nreis@wavecom.pt"
                                    target="_blank"><span
                                      style="color:blue">nreis@wavecom.pt</span></a></span><span
                                  style="font-size:8.0pt;font-family:"Trebuchet
                                  MS","sans-serif""></span><span
                                  style="font-size:10.0pt;font-family:"Trebuchet
MS","sans-serif";color:#1f497d"></span><span
                                  style="font-size:8.0pt;font-family:"Trebuchet
MS","sans-serif";color:#133770"><br>
                                </span></p>
                              <span
                                style="font-size:8.0pt;font-family:"Trebuchet
MS","sans-serif";color:#133770">WAVECOM-Soluções Rádio,
                                S.A.</span><span
                                style="font-size:8.0pt;font-family:"Trebuchet
MS","sans-serif";color:#133770"><br>
                                Cacia Park | Rua do Progresso, Lote 15</span><span
                                style="font-size:8.0pt;font-family:"Trebuchet
MS","sans-serif";color:#133770"><br>
                                3800-639 AVEIRO | Portugal</span><span
                                style="font-size:8pt;font-family:"Trebuchet
MS","sans-serif";color:rgb(19,55,112)"><br>
                                T. <a moz-do-not-send="true"
                                  value="+351234919190">+351 309 700 225</a>
                                | F. <a moz-do-not-send="true"
                                  value="+351234919191">+351 234 919 191</a></span><span
                                style="font-size:8pt;font-family:"Trebuchet
MS","sans-serif";color:rgb(19,55,112)"><br>
                              </span><b><span
                                  style="font-size:9.0pt;font-family:"Trebuchet
MS","sans-serif";color:#1f497d"><a moz-do-not-send="true"
href="http://maps.google.com/maps/ms?msa=0&msid=202333747613191340808.0004b4b227a6144f0df88"
                                    target="_blank"><span
                                      style="color:#1f497d">GPS</span></a>
                                  | <a moz-do-not-send="true"
                                    href="http://www.wavecom.pt/"
                                    target="_blank"><span
                                      style="color:#1f497d">www.wavecom.pt</span></a></span></b><b><a
                                  moz-do-not-send="true"
                                  href="http://www.wavecom.pt/"
                                  target="_blank"><span
                                    style="color:#1f497d"></span></a></b>
                              <p><span style="border-collapse:collapse"></span></p>
                              <p><a moz-do-not-send="true"
                                  href="http://www.wavecom.pt/pt/wavecom/premios.php"
                                  style="color:rgb(17,85,204)"
                                  target="_blank"><span
                                    style="text-decoration:none"><img
                                      src="cid:part9.08070704.06070106@gmail.com"
                                      alt="Description: Description:
                                      WavecomSignature" border="0"
                                      height="100" width="400"></span></a><span
                                  style="color:rgb(31,73,125)"></span></p>
                              <p><a moz-do-not-send="true"
                                  href="http://www.wavecom.pt/pt/mail_eventos.php"
                                  style="color:rgb(17,85,204);font-size:medium;font-family:'Times
                                  New Roman'" target="_blank"><img
                                    moz-do-not-send="true"
                                    alt="Publicity"
                                    src="http://www.wavecom.pt/email_signature/pub.png"
                                    border="0" height="71" width="389"></a>
                              </p>
                              <p><span><br>
                                </span></p>
                            </div>
                          </div>
                          <br>
                        </span>
                        <div>
                          <div>
                            <div class="gmail_quote">On Wed, Jan 21,
                              2015 at 8:45 PM, Juha Heinanen <span
                                dir="ltr"><<a moz-do-not-send="true"
                                  href="mailto:jh@tutpro.com"
                                  target="_blank">jh@tutpro.com</a>></span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex"><span>Nuno
                                  Reis writes:<br>
                                  <br>
                                  > Here my publisher is Kamailio
                                  itself. Can someone elaborate a bit
                                  more on<br>
                                  > this issue and maybe we can get
                                  to bottom of it?<br>
                                  <br>
                                </span>when your application issues
                                initial publish request, it does so
                                without<br>
                                SIP-If-Match header.  200 ok from
                                presence server then contains an etag<br>
                                in SIP-ETag header. when your
                                application refreshes the publish, it
                                must<br>
                                place this etag in SIP-If-Match header
                                to prevent presence server from<br>
                                creating a new publication.<br>
                                <br>
                                for subscribes, your application must
                                place in re-subscribe the<br>
                                same event header id param as the
                                previous one had in order for the<br>
                                presence server to know that subscribe
                                was not a new subscription.<br>
                                <span><font color="#888888"><br>
                                    -- juha<br>
                                  </font></span></blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <div><br>
                  </div>
                </div>
              </div>
              <span class="HOEnZb"><font color="#888888">-- <br>
                  <div>
                    <div dir="ltr">
                      <div>Daniel-Constantin Mierla - <a
                          moz-do-not-send="true"
                          href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></div>
                      <div><a moz-do-not-send="true"
                          href="http://twitter.com/#%21/miconda"
                          target="_blank">http://twitter.com/#!/miconda</a>
                        - <a moz-do-not-send="true"
                          href="http://www.linkedin.com/in/miconda"
                          target="_blank">http://www.linkedin.com/in/micond</a></div>
                    </div>
                  </div>
                </font></span></div>
          </blockquote>
        </div>
        <br>
      </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>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>