<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>based on these details, you can do 'kamctl ps' to see the type of
      the process printing the disconnect log message matching the pid.
      Maybe is some process with low activity, not using the redis
      connection that much.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 22.07.20 14:48, Alexandre Abreu
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGsB2kDpy6dV2t=852R2oB4ZOTWo_aQMpORp6Viu+0RjyNsTaQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi Karsten,
        <div><br>
        </div>
        <div>I notice that some errors are in intervals of 1 minute:</div>
        <div><br>
        </div>
        <div>13:43<br>
        </div>
        <div>13:44<br>
        </div>
        <div>13:45<br>
        </div>
        <div><br>
        </div>
        <div>Maybe the connection to Redis of that thread are idle and
          the Redis server close the connection.</div>
        <div><br>
        </div>
        <div>More information here: <a
            href="https://redis.io/topics/clients#client-timeouts"
            moz-do-not-send="true">https://redis.io/topics/clients#client-timeouts</a></div>
        <div><br>
        </div>
        <div>I hope it helps.</div>
        <div><br>
        </div>
        <div><br clear="all">
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr"><b
                  style="font-size:13px;color:rgb(44,122,161);font-family:Verdana">Alexandre
                  Abreu</b>
                <div
style="font-size:13px;color:rgb(44,122,161);font-family:Verdana;line-height:normal">Voice
                  Application Engineer & Team Leader</div>
                <div style="margin:0px 0px
12px;font-size:12px;line-height:normal;font-family:Times;color:rgb(0,31,232)"><span
                    style="color:rgb(128,128,128);font-family:Verdana">__________________________</span><br>
                </div>
                <div
style="font-size:13px;color:rgb(44,122,161);font-family:Verdana;line-height:normal"><b>BySide</b></div>
                <div
style="font-family:Verdana;font-size:10px;line-height:normal;color:rgb(128,128,128)">(+351)
                  931 111 544</div>
                <div
style="font-family:Verdana;font-size:10px;line-height:normal;color:rgb(128,128,128)">Rua
                  Visconde Bóbeda, 70</div>
                <div
style="font-family:Verdana;font-size:10px;line-height:normal;color:rgb(128,128,128)">4000-108
                  Porto<br>
                  __________________________</div>
                <p style="margin:0px 0px
12px;font-size:10px;line-height:normal;font-family:Tahoma;color:rgb(192,192,192)"><span
                    style="color:rgb(128,128,128)">Advertência/Warning<br>
                    Este correio electrónico contém informação privada e
                    estritamente confidencial.</span><br>
                  Qualquer leitura, retenção, distribuição ou cópia
                  desta mensagem por qualquer pessoa que não seja o
                  destinatário da presente mensagem é proibida.</p>
                <p style="margin:0px 0px
12px;font-size:10px;line-height:normal;font-family:Tahoma;color:rgb(192,192,192)"><span
                    style="color:rgb(128,128,128)">This e-mail is
                    privileged, confidential and contains private
                    information.</span><br>
                  Any reading, retention, distribution or copying of
                  this communication by any person other than its
                  intended recipient is prohibited.</p>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Jul 22, 2020 at 1:26
          PM Karsten Horsmann <<a href="mailto:khorsmann@gmail.com"
            moz-do-not-send="true">khorsmann@gmail.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">Hi everyone,
            <div><br>
            </div>
            <div>I get some strange errors from nbd_redis but my setup
              is working. kamailio 5.3.5 on CentOS 7.7.1908.</div>
            <div>Redis-Server is an haproxy frontend that pushed the
              stuff to an redis-sentinel cluster (with and really old
              version redis-3.2.1-2.el7.remi.x86_64).</div>
            <div>Any ideas on that? </div>
            <div><br>
            </div>
            <div>Jul 22 13:42:52 siptrunk5 kamailio[112377]: ERROR:
              ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis
              error: Server closed the connection<br>
              Jul 22 13:43:34 siptrunk5 kamailio[112359]: ERROR:
              ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis
              error: Server closed the connection<br>
              Jul 22 13:43:34 siptrunk5 kamailio[112378]: ERROR:
              ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis
              error: Server closed the connection<br>
              Jul 22 13:44:33 siptrunk5 kamailio[112363]: ERROR:
              ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis
              error: Server closed the connection<br>
              Jul 22 13:45:03 siptrunk5 kamailio[112362]: ERROR:
              ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis
              error: Server closed the connection<br>
              Jul 22 14:00:01 siptrunk5 kamailio[112381]: ERROR:
              ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis
              error: Server closed the connection<br>
              Jul 22 14:00:01 siptrunk5 kamailio[112365]: ERROR: {24519
              CANCEL 59644df6-68ac-4dd6-9fa5-1a9c2eda3b59} ndb_redis
              [redis_client.c:1083]: redisc_exec_argv(): Redis error:
              Server closed the connection<br>
              <div><br>
              </div>
              <div><br>
              </div>
              <div># grep redis /etc/kamailio/kamailio.cfg<br>
                loadmodule "ndb_redis.so"<br>
                loadmodule "topos_redis.so"<br>
                modparam("ndb_redis", "server",
                "name=CFG_REDIS_NAME;addr=CFG_REDIS_ADDR;port=6379;db=CFG_REDIS_DB")<br>
                modparam("ndb_redis", "connect_timeout", 1500) # default
                1000ms/1sec<br>
                modparam("ndb_redis", "cmd_timeout", 1500) # default
                1000ms/1sec<br>
                modparam("topos", "storage", "redis")<br>
                modparam("topos_redis", "serverid", "CFG_REDIS_NAME")<br>
              </div>
              -- 
              <div>Cheers<br>
                <div dir="ltr">*Karsten Horsmann*<br>
                </div>
              </div>
            </div>
          </div>
          _______________________________________________<br>
          Kamailio (SER) - Users Mailing List<br>
          <a href="mailto:sr-users@lists.kamailio.org" target="_blank"
            moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
          <a
            href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<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>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>