Comments (3)
what does it says when you restart the workers ?
Does it kill the old workers correctly ? Or there's an error message saying
that PID does not exist ?
Are your workers still running ? Sometimes, there's some glitch when
forking process, so the workers die when the fork died.
What platform are you on ?
Next time it happens, check if you're workers are still running with "ps
aux | grep resque". If not, there's something weird killing the workers.
On Fri, Apr 12, 2013 at 11:40 AM, Andrew Ryno [email protected]:
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?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9
.
from fresque.
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.
from fresque.
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 ps aux | grep resque
, because it will not find the workers process.
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.
from fresque.
Related Issues (20)
- fresque stop doesn't clear workers after stopping them HOT 2
- Tag new version with Scheduler support HOT 2
- resume command doesn't work HOT 5
- Specifying worker names with stop command HOT 4
- Starting worker ..................... Fail HOT 1
- Failed to start worker when server is booting HOT 3
- Composer Requirements HOT 1
- Workers disappearing HOT 4
- need for authentication support HOT 1
- question re fresque.ini HOT 3
- PHP Warning at the end of 'fresque test'
- Link in project description gives 404 HOT 1
- Travis build status and link appears to not be working.
- can pass -c to enquue command
- Unable to create more than one worker HOT 1
- What's the point of running same scheduler workers count as in default queue? HOT 2
- fresque is stopping everyday HOT 1
- Memory Problem free(); HOT 1
- Version bump? 1.3.2 or 1.4.0?
- Scalability: Scaling fresque
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fresque.