Hello,

I have encountered a weird bug using Redis. I understand it would be too 
complicated to get detailed help (software is running to supervise a 
machine), but I'm looking for cues on where to look.

Here is the problem:
I use redis to share variables between processes. After a while, I get the 
following error in web2py: 
<class 'redis.exceptions.ConnectionError'> Error -5 connecting 
localhost:6379. No address associated with hostname.
The instruction raising this message is never the same, allthough it's a 
redis command, of course: it always comes down to redis connexion missing 
that cannot be re-established (line 125 in redis' connection.py).

What is weird is that redis remains accessible from the other processes, 
e.g. the server still operates without any problem.
The only solution I've found so far to solve the problem is restarting 
web2py (touch /etc/uwsgi/web2py.xml), and then it works again.
Any cue from someone on what could be wrong?

Thanks, 
Andre

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to