Re: [SR-Users] ndb_redis module fails after a while

2012-01-13 Thread Javier Gallart
Hi Daniel both values are null. I might have found something: apparently some of the sockets kamailio-redis were inactive for a while and were being closed in the redis end. This is redis default config: # Close the connection after a client is idle for N seconds (0 to disable) timeout 600 I've

Re: [SR-Users] ndb_redis module fails after a while

2012-02-17 Thread Andrew Pogrebennyk
Hi Daniel, On 02/17/2012 10:47 AM, Daniel-Constantin Mierla wrote: I made a patch for server reconnect -- I had no access to a computer with redis lib installed for the moment, hopefully it compiles. If you can try and tell the result, it would be great, I can commit then. I may be able to

Re: [SR-Users] ndb_redis module fails after a while

2012-02-17 Thread Javier Gallart
Hi Daniel, Andrew I've just tested the patch and kamailio crashes when the redis server is stopped. This is what I could get: -From the logs: Feb 17 06:33:32 r-gate-test ./kamailio[23812]: ALERT: core [main.c:751]: child process 23819 exited by a signal 11 Feb 17 06:33:32 r-gate-test