Hi Karsten,

I notice that some errors are in intervals of 1 minute:

13:43
13:44
13:45

Maybe the connection to Redis of that thread are idle and the Redis server close the connection.

More information here: https://redis.io/topics/clients#client-timeouts

I hope it helps.


Alexandre Abreu
Voice Application Engineer & Team Leader
__________________________
BySide
(+351) 931 111 544
Rua Visconde Bóbeda, 70
4000-108 Porto
__________________________

Advertência/Warning
Este correio electrónico contém informação privada e estritamente confidencial.

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.

This e-mail is privileged, confidential and contains private information.
Any reading, retention, distribution or copying of this communication by any person other than its intended recipient is prohibited.



On Wed, Jul 22, 2020 at 1:26 PM Karsten Horsmann <khorsmann@gmail.com> wrote:
Hi everyone,

I get some strange errors from nbd_redis but my setup is working. kamailio 5.3.5 on CentOS 7.7.1908.
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).
Any ideas on that? 

Jul 22 13:42:52 siptrunk5 kamailio[112377]: ERROR: ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis error: Server closed the connection
Jul 22 13:43:34 siptrunk5 kamailio[112359]: ERROR: ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis error: Server closed the connection
Jul 22 13:43:34 siptrunk5 kamailio[112378]: ERROR: ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis error: Server closed the connection
Jul 22 13:44:33 siptrunk5 kamailio[112363]: ERROR: ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis error: Server closed the connection
Jul 22 13:45:03 siptrunk5 kamailio[112362]: ERROR: ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis error: Server closed the connection
Jul 22 14:00:01 siptrunk5 kamailio[112381]: ERROR: ndb_redis [redis_client.c:1083]: redisc_exec_argv(): Redis error: Server closed the connection
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


# grep redis /etc/kamailio/kamailio.cfg
loadmodule "ndb_redis.so"
loadmodule "topos_redis.so"
modparam("ndb_redis", "server", "name=CFG_REDIS_NAME;addr=CFG_REDIS_ADDR;port=6379;db=CFG_REDIS_DB")
modparam("ndb_redis", "connect_timeout", 1500) # default 1000ms/1sec
modparam("ndb_redis", "cmd_timeout", 1500) # default 1000ms/1sec
modparam("topos", "storage", "redis")
modparam("topos_redis", "serverid", "CFG_REDIS_NAME")
-- 
Cheers
*Karsten Horsmann*
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users