<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>do you get also dialog statistics? tm stats are not relevant in
      this context.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 10.04.18 09:19, tyd wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAO_tHBRhSF+VdiNkHKya7T_UxezpXRqa+uPzM4MO-r65Y7_N9w@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <p>Hello,<br>
                </p>
                <span class=""> <br>
                  <div class="m_161503467617737076moz-cite-prefix">On
                    10.04.18 07:25, tyd wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>
                            <div>Hi, Daniel<br>
                              <br>
                            </div>
                            No, the dialogs were not terminated after 10
                            minutes if no BYE message was sent.<br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </span> Not using ims_dialog, but it may be that it
                doesn't send bye when the dialog lifetime elapses, just
                destroys the structure it keeps in memory. With the
                other dialog module, there is a parameter to set if you
                want BYE to be sent.<span class=""><br>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div>But if Default value(43200) was set,  the
                          S-CSCF will run out of memory finally (after
                          200000 calls).<br>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </span> Were all these calls still active?<span class=""><br>
                </span></div>
              <div text="#000000" bgcolor="#FFFFFF"><span class=""><br>
                </span></div>
            </blockquote>
            <div>Hi, <br>
              In SIPp, the calls were finishes.<br>
            </div>
            <div>But in Kamailio, the calls seem keep in the memory and
              run out of memory. <br>
              Can any parameter solve this problem? 
              <br>
              Is it  a solution  to set "ims_dialog", "default_timeout"
              to  600 ?<br>
            </div>
            <div>
              <pre># kamcmd tm.stats
{
        current: 69
        waiting: 0
        total: 991300
        total_local: 0
        rpl_received: 2183891
        rpl_generated: 20232
        rpl_sent: 1475856
        6xx: 0
        5xx: 2704
        4xx: 10124
        3xx: 0
        2xx: 978329
        created: 991300
        freed: 991231
        delayed_free: 0
}
# kamctl stats shmem
shmem:fragments = 1630
shmem:free_size = 4303040
shmem:max_used_size = 536870912
shmem:real_used_size = 532567872
shmem:total_size = 536870912
shmem:used_size = 415668000</pre>
               </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"><span class="">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div><br>
                        </div>
                        Have any relation with this parameter and memory
                        release ?<br>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </span> Yes, the structure kept for each call is
                destroyed after lifetime. But it should be also
                destroyed if the BYE is received.<br>
                <br>
                Cheers,<br>
                Daniel
                <div>
                  <div class="h5"><br>
                    <br>
                    <blockquote type="cite">
                      <div dir="ltr">Any impacts if using value 600 at
                        production environment ?<br>
                        <div>
                          <div>Thanks.<br>
                          </div>
                          <div>
                            <div>
                              <div>
                                <div>
                                  <div class="gmail_extra"><br>
                                    <div class="gmail_quote">2018-04-10
                                      0:27 GMT+08:00 Daniel-Constantin
                                      Mierla <span dir="ltr"><<a
                                          href="mailto:miconda@gmail.com"
                                          target="_blank"
                                          moz-do-not-send="true">miconda@gmail.com</a>></span>:<br>
                                      <blockquote class="gmail_quote"
                                        style="margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex">
                                        <div text="#000000"
                                          bgcolor="#FFFFFF">
                                          <p>Hello,</p>
                                          <p>that should be the call
                                            lifetime. Are the dialogs
                                            terminated after 10 minutes?</p>
                                          <p>Cheers,<br>
                                            Daniel<br>
                                          </p>
                                          <div>
                                            <div
                                              class="m_161503467617737076h5">
                                              <br>
                                              <div
                                                class="m_161503467617737076m_4887002841488808375moz-cite-prefix">On
                                                09.04.18 16:58, tyd
                                                wrote:<br>
                                              </div>
                                            </div>
                                          </div>
                                          <blockquote type="cite">
                                            <div>
                                              <div
                                                class="m_161503467617737076h5">
                                                <div dir="ltr">
                                                  <div>
                                                    <div>
                                                      <div>
                                                        <div>Dear all,<br>
                                                          <br>
                                                        </div>
                                                        What's the
                                                        meaning of
                                                        ims_dialog 
                                                        default_timeout
                                                        parameter ? <br>
                                                        <span
                                                          class="m_161503467617737076m_4887002841488808375emphasis"><i>Default
                                                          value is <span
class="m_161503467617737076m_4887002841488808375gmail-quote">「<span
                                                          class="m_161503467617737076m_4887002841488808375gmail-quote">43200
                                                          (12 hours)</span>」</span></i></span>
                                                        <br>
                                                        <br>
                                                      </div>
                                                      When
                                                      modparam("ims_dialog",
                                                      "default_timeout",
                                                      600) was set,<br>
                                                    </div>
                                                    the situation of
                                                    Kamailio S-CSCF out
                                                    of memory was solved
                                                    and is running
                                                    smoothly.<br>
                                                    <br>
                                                  </div>
                                                  <div>Debian 8 with
                                                    Kamailio 4.4.7 <br>
                                                  </div>
                                                  <div><br>
                                                  </div>
                                                  <br>
                                                  <div><br>
                                                  </div>
                                                </div>
                                                <br>
                                                <fieldset
                                                  class="m_161503467617737076m_4887002841488808375mimeAttachmentHeader"></fieldset>
                                                <br>
                                              </div>
                                            </div>
                                            <pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_161503467617737076m_4887002841488808375moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_161503467617737076m_4887002841488808375moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><span class="m_161503467617737076HOEnZb"><font color="#888888">
</font></span></pre>
                                            <span
                                              class="m_161503467617737076HOEnZb"><font
                                                color="#888888"> </font></span></blockquote>
                                          <span
                                            class="m_161503467617737076HOEnZb"><font
                                              color="#888888"> <br>
                                              <pre class="m_161503467617737076m_4887002841488808375moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_161503467617737076m_4887002841488808375moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_161503467617737076m_4887002841488808375moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - April 16-18, 2018, Berlin - <a class="m_161503467617737076m_4887002841488808375moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_161503467617737076m_4887002841488808375moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
                                            </font></span></div>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                    <br>
                    <pre class="m_161503467617737076moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_161503467617737076moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_161503467617737076moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - April 16-18, 2018, Berlin - <a class="m_161503467617737076moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_161503467617737076moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - April 16-18, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>