wa0x6e / Cake-Resque

Resque plugin for CakePHP : for creating background jobs that can be processed offline later
MIT License
159 stars 56 forks source link

Redis exception caught: Connection lost #98

Open aschelch opened 8 years ago

aschelch commented 8 years ago

Hi there,

Today, we experienced an issue with resque because all our workers lost the connection to the redis server. We realize it hours laters.. All our export generator were down for a while :/

Is it normal that the workers did not try to reconnect to the redis server ? How can we protect ourself against this issue ?

Thanks in advance,

wa0x6e commented 8 years ago

Use tools like Monit or God to poll the pid file, and restart the workers when necessary