Comments (4)
Found a workaround.
Just do a "fresque load", it will spawn workers and populate the list with the correct info.
from fresque.
1 - Did you try to pause then resume workers ?
2 - Logs is saying that the workers were exiting, thus stopping. That's why you don't see the workers' process
3 - Refer to 1, did you try to resume workers ?
4 - If you still see the workers in stats, then you should be able to stop them. Sometimes, it can takes time (some seconds). If they're still here, it means that the workers were not properly stopped.
From the symptoms, it seems the workers were not properly stopped.
What did you try to do when the logs says :
[2013-10-05T16:27:31+00:00] CONT received; resuming job processing
[2013-10-05T16:27:31+00:00] Exiting...
Was it a normal job execution, or did you try to stop/resume/pause workers ?
You workaround is working because load will start workers, and before starting new workers, resque is doing some cleaning to remove not properly stopped workers. Doing a start
or reset
should give the same results.
from fresque.
Just to clarify, the number 1,2,3,4 in my post above simply refers to chronological order. Not different scenarios.. ; )
- I did. From status I see it was paused and resumed. But even before I do that, I ran "ps -ef" and it returns no worker process. Probably was rebooted by forced power off.
- Correct. But when I run "fresque stats", resque stats returns me a list of workers, when it should have returned nothing since there is no worker process.
- Yeah I did
- I didn't do anything since I started the worker. I just left it running in my test server. Based on the timestamp (UTC), it happens on a Sunday, no one is in the office to work plus I'm the only one using this at the moment.
I did try to do "reset", "start", "stop" before I found the workaround. It all returns me the list of my previous workers while there is no shell process for the workers.
from fresque.
The server was rebooted. That could have caused the worker process to be gone and yet Redis is still registered with the old worker list....
Seems like we've found our culprit. Thank you for your help.
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.