-
Notifications
You must be signed in to change notification settings - Fork 56
Fresque has stopped processing jobs once a month #9
Comments
what does it says when you restart the workers ? Does it kill the old workers correctly ? Or there's an error message saying Are your workers still running ? Sometimes, there's some glitch when What platform are you on ? Next time it happens, check if you're workers are still running with "ps On Fri, Apr 12, 2013 at 11:40 AM, Andrew Ryno notifications@github.comwrote:
|
Yeah sorry for the lack of info. I've tried to debug it but haven't seen anything out of the ordinary. Killing the workers finished fine, but when starting them up again it says failed, but they actually are there. But they still process jobs. So I don't know if that's part of it. resque-web said the workers were still running, they have a PID, etc. :\ Feel free to close this then if it happens again I can comment again. Just wasn't sure if you've seen this before. |
I'm encountering this sometime too, but I don't know if it's the same issue. Sometimes, some of my workers die unexpectedly, I can confirm that by running But you're telling me your workers are still running, but just not processing jobs. You should check the log files, they'll tell you what your workers are doing. With full verbose, it'll log each action : sleep for x seconds, check queues X, found X jobs on queues X, etc ... It's the most important piece of evidence to solve the mystery. For the restarting problem, where it'll says that it failed, but in reality, it's not, it's because the Redis server is overloaded. When restarted, the workers are processing all the 900+ jobs, and fresque have some difficulties connecting to redis to confirm that the workers are really started. Feel free to open another ticket with your log if it happens again. |
I can't really figure out why and it's hard to for me to debug but last month (March 1st) and this month (April 5th) fresque stopped polling for jobs. It was still searching for new jobs, but it just wouldn't see that they were there and grab them. resque-web showed 900+ on the queue, but none would be processing. Restarting the workers works.
I'm using
php-resque-ex
as the library. Everything else is pretty much default.Not sure if this is something you've seen?
The text was updated successfully, but these errors were encountered: