<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>what kind of counter do you manually update? How is it defined
      and when is it updated?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 03.06.21 12:56, David Escartín
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADvHuE9i7jvCsVzpcJf9HcpRTEw=fat1e70TW-mPBmLZbhJ1Rg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">hello all
        <div><br>
        </div>
        <div>Using kamailio 5.4.4, we have observed that comparing the
          result of get_profile_size (using profiles_with_value) against
          a counter we update each time a dialog is
          created-ended/failed, we do see that the number of profiles is
          higher than the number of the counter we manually update.</div>
        <div>We have reviewed the congi and seems everything is done as
          it should 🤔</div>
        <div>We tried to duplicate the issue, but at least with ~3000
          simultaneous dialogs, both measures match.</div>
        <div>Would it be possible that at some load kamailio could delay
          the dialog expirations for the profile?</div>
        <div><br>
        </div>
        <div>best regards</div>
        <div>david</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>--
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr" style="direction:ltr">
              <table style="width:100%" cellspacing="0" cellpadding="0"
                border="0">
                <tbody>
                  <tr style="font-size:0">
                    <td style="vertical-align:top" align="left">
                      <table style="font-size:0" cellspacing="0"
                        cellpadding="0" border="0">
                        <tbody>
                          <tr style="font-size:0">
                            <td style="padding:15px 0
                              0;vertical-align:top" align="left">
                              <table
                                style="font-size:0;line-height:normal"
                                cellspacing="0" cellpadding="0"
                                border="0">
                                <tbody>
                                  <tr style="font-size:0">
                                    <td style="padding:0 10px 0
                                      0;border-top:none;border-right:dotted
                                      3px
                                      #009bdf;border-bottom:none;border-left:none;vertical-align:middle"
                                      align="left"><a
                                        href="http://www.sonoc.io/"
                                        style="text-decoration:none"
                                        target="_blank"
                                        moz-do-not-send="true"><img
src="https://www.sonoc.io/wp-content/uploads/2020/07/Logo_SONOC_emails.png"
                                          alt=""
                                          style="height:90px;min-height:90px;max-height:90px;font-size:0"
                                          moz-do-not-send="true"
                                          height="90" border="0"></a></td>
                                    <td style="padding:0 0 0
                                      10px;vertical-align:top"
                                      align="left">
                                      <table
                                        style="width:100%;font-size:0"
                                        cellspacing="0" cellpadding="0"
                                        border="0">
                                        <tbody>
                                          <tr style="font-size:0">
                                            <td
                                              style="vertical-align:top"
                                              align="left">
                                              <table
                                                style="width:100%;font-size:0"
                                                cellspacing="0"
                                                cellpadding="0"
                                                border="0">
                                                <tbody>
                                                  <tr
                                                    style="font-size:0">
                                                    <td style="padding:0
                                                      0 0
                                                      5px;vertical-align:top"
                                                      align="left">
                                                      <table
                                                        style="width:100%;font-size:0"
                                                        cellspacing="0"
                                                        cellpadding="0"
                                                        border="0">
                                                        <tbody>
                                                          <tr
                                                          style="font-size:0">
                                                          <td
                                                          style="vertical-align:top"
                                                          align="left">
                                                          <table
style="white-space:nowrap;color:#102f4a;font-size:22.67px;font-family:Calibri;font-weight:400;font-style:normal;text-align:left;width:200px"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:16px">
                                                          <td
                                                          style="font-family:Calibri">David Escartín<span
style="font-family:remialcxesans;font-size:1px;color:#ffffff;line-height:1px"></span></td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          </tr>
                                                          <tr
                                                          style="font-size:0">
                                                          <td
                                                          style="vertical-align:top"
                                                          align="left">
                                                          <table
style="white-space:nowrap;color:#102f4a;font-size:22.67px;font-family:Calibri;font-weight:400;font-style:normal;text-align:left;width:200px"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:15px">
                                                          <td
                                                          style="font-family:Calibri">NOC engineer</td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          </tr>
                                                          <tr
                                                          style="font-size:0">
                                                          <td
                                                          style="vertical-align:top"
                                                          align="left">
                                                          <table
style="white-space:nowrap;color:#009bdf;font-size:22.67px;font-family:Calibri;font-weight:400;font-style:normal;text-align:left;width:200px"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:15px">
                                                          <td
                                                          style="font-family:Calibri"><a
href="http://www.sonoc.io/" style="text-decoration:none;color:#009bdf"
                                                          target="_blank"
moz-do-not-send="true"><strong style="font-weight:400">www.sonoc.io</strong></a></td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          </tr>
                                                          <tr
                                                          style="font-size:0">
                                                          <td
                                                          style="vertical-align:top"
                                                          align="left">
                                                          <table
                                                          style="font-size:0"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:0">
                                                          <td
                                                          style="padding:20px
                                                          0
                                                          0;vertical-align:top"
                                                          align="left">
                                                          <table
                                                          style="width:200px;font-size:0"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:0">
                                                          <td
                                                          align="left">
                                                          <table
                                                          style="font-size:0"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:0">
                                                          <td
                                                          style="vertical-align:top"
                                                          align="left">
                                                          <table
                                                          style="font-size:0;line-height:normal"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:0">
                                                          <td
                                                          style="padding:0
                                                          3px 3px
                                                          0;vertical-align:top"
                                                          align="left"><a
href="https://www.linkedin.com/company/sonoc"
                                                          style="text-decoration:none"
target="_blank" moz-do-not-send="true"><img
src="https://drive.google.com/uc?id=1E8BjnzEth1bTE8cAulKVNZf27jIeu9hw&export=download"
title="LinkedIn" alt="LinkedIn"
style="width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;font-size:12px"
moz-do-not-send="true" width="20" height="20" border="0"></a></td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          <td
                                                          style="vertical-align:top"
                                                          align="left">
                                                          <table
                                                          style="font-size:0;line-height:normal"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:0">
                                                          <td
                                                          style="padding:0
                                                          3px 3px
                                                          0;vertical-align:top"
                                                          align="left"><a
href="https://twitter.com/sonoc_" style="text-decoration:none"
                                                          target="_blank"
moz-do-not-send="true"><img
src="https://drive.google.com/uc?id=1CJysV-sccsLgUs1D7erDvDZE2687dzIx&export=download"
title="Twitter" alt="Twitter"
style="width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;font-size:12px"
moz-do-not-send="true" width="20" height="20" border="0"></a></td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          <td
                                                          style="vertical-align:top"
                                                          align="left">
                                                          <table
                                                          style="font-size:0;line-height:normal"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:0">
                                                          <td
                                                          style="padding:0
                                                          3px 3px
                                                          0;vertical-align:top"
                                                          align="left"><a
href="https://www.facebook.com/SONOCio/" style="text-decoration:none"
                                                          target="_blank"
moz-do-not-send="true"><img
src="https://drive.google.com/uc?id=1PtNWDc75pvIIi2qq7Tsm4rhm52D30hSb&export=download"
title="Facebook" alt="Facebook"
style="width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;font-size:12px"
moz-do-not-send="true" width="20" height="20" border="0"></a></td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          </td>
                                                          </tr>
                                                        </tbody>
                                                      </table>
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                  <tr style="font-size:0">
                    <td style="vertical-align:top" align="left">
                      <table style="font-size:0" cellspacing="0"
                        cellpadding="0" border="0">
                        <tbody>
                          <tr style="font-size:0">
                            <td style="padding:10px 0
                              0;vertical-align:top" align="left">
                              <table
style="white-space:normal;color:#636363;font-size:14.67px;font-family:Calibri,Arial,sans-serif;font-weight:400;font-style:normal;text-align:justify;width:550px"
                                cellspacing="0" cellpadding="0"
                                border="0">
                                <tbody>
                                  <tr style="font-size:11px">
                                    <td style="font-family:Calibri">This
                                      e-mail is for the exclusive use of
                                      its recipients and may contain
                                      business secrets or other
                                      confidential or privileged
                                      information. Any unauthorised use,
                                      copying, publication or
                                      distribution of this e-mail is
                                      strictly prohibited. If you are
                                      not the intended recipient, please
                                      inform us immediately by replying
                                      to this e-mail and delete it,
                                      including any attachments or
                                      copies on your system.<br>
                                      <br>
                                      In accordance with the GDPR (EU)
                                      2016/679 and the LOPDGDD 3/2018,
                                      we inform you that this e-mail
                                      address and/or any other personal
                                      data you have provided us with
                                      will be treated by SONOC with
                                      absolute confidentiality and with
                                      the only purpose of providing you
                                      with the requested services, due
                                      to your condition as a client,
                                      supplier or because you have
                                      requested information from us at
                                      any time. These data will only be
                                      kept for as long as required to
                                      comply with legal obligations. You
                                      can exercise your rights at any
                                      time by sending an e-mail to: <span
                                        style="color:#009bdf"><a
                                          href="mailto:dataprotection@sonoc.io"
style="text-decoration:none;color:#009bdf" target="_blank"
                                          moz-do-not-send="true"><strong
                                            style="font-weight:400">dataprotection@sonoc.io</strong></a></span><a
href="mailto:dataprotection@sonoc.io"
                                        style="text-decoration:none;color:#000001"
                                        target="_blank"
                                        moz-do-not-send="true"><strong
                                          style="font-weight:400">.</strong></a><br>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<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 - Online - June 7-10, 2021 (America Timezone)
  * <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </body>
</html>