Hello,
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.
Cheers,
Daniel
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 AbreuVoice Application Engineer & Team Leader__________________________
BySide(+351) 931 111 544Rua Visconde Bóbeda, 704000-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
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Funding: https://www.paypal.me/dcmierla