Comments (3)
Forking workers require the php pcntl extension.
Is it installed ?
What do you see on the log file ?
from fresque.
pnctl was installed. I was having errors in https://github.com/kamisama/Fresque/blob/master/lib/Fresque.php
I changed the code from line# 399
$workersCountAfter = \Resque::Redis()->scard('workers');
if (($workersCountBefore + $this->runtime['Default']['workers']) == $workersCountAfter) {
if ($args === null || $new === true) {
$this->addWorker($this->runtime);
}
to
$workersCountAfter = \Resque::Redis()->scard('workers');
if (($workersCountBefore + $this->runtime['Default']['workers']) == $workersCountAfter+1) {
//if ($args === null || $new === true) {
$this->addWorker($this->runtime);
//}
and it started workers. Now they are working but can you please check why I have to make these changes.
also following line was returning 0
$workersCountAfter = \Resque::Redis()->scard('workers');
from fresque.
Can you check if the latest version solve your issue ?
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.