[SR-Users] ndb_redis module fails after a while

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 13 09:35:47 CET 2012


Hello,

On 1/13/12 8:00 AM, Javier Gallart wrote:
> Hi all
>
> I have started making some tests with the ndb_redis module. So far we 
> have not stressed the module (no more than 5 HGET  commands/second at 
> maximum). It works well, but with at some point it starts failing. The 
> failures are easily found because the logs always show this:
> INFO: <core> [main.c:811]: INFO: signal 13 received
this due to a broken connection. What do you get in redis reply and info 
variables?

> After that the redis value is always null. If I restart kamailio it 
> starts working again.
> I've run kamailio with debug=4 but I haven't seen more useful 
> information. On the redis side, I could find nothing in the logs 
> either, the number of clientes connected is alway much less than the 
> configured maximum, Any idea?
> On the other hand, if I restart redis we need to restart kamailio to 
> restore the connections. Is the reconnection to redis on the roadmap?

It should not be that complex, there is the code for initializing the 
connection, it should be reused for doing it again in case of failure.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-users mailing list