Comments (5)
The first thing I would recommend is to change the config to use dedicated workers for the jobs that are not getting done. If dedicated workers still don't get them done, then something else may be going on.
from net_gearman.
Thanks for the reply. I have observed the same pattern of logs in the gearman-manager.log at the time of issue when processing gets stuck suddenly for some specific function on the worker server. Please suggest your views on this.
[2018-02-05 15:54:09.733015] 14702 PROC Started child 17607 (job1,job2,job3,job4,job5)
[2018-02-05 15:54:09.733114] 14702 DEBUG Registering signals for child
[2018-02-05 15:54:09.733408] 17607 DEBUG Adjusted max run time to 647 seconds (max_worker_lifetime:600 + splay:47)
[2018-02-05 15:54:09.733512] 17607 WORKER Adding server 127.0.0.1
[2018-02-05 15:54:09.733604] 17607 WORKER Adding job job1 ; timeout:
[2018-02-05 15:54:09.733665] 17607 WORKER Adding job job2 ; timeout:
[2018-02-05 15:54:09.733716] 17607 WORKER Adding job job3 ; timeout:
[2018-02-05 15:54:09.733765] 17607 WORKER Adding job job4 ; timeout:
[2018-02-05 15:54:09.733813] 17607 WORKER Adding job job5 ; timeout:
[2018-02-05 15:54:18.765310] 14702 PROC Child 17606 exited with error code of 0 (job1,job2,job3,job4,job5)
from net_gearman.
Does another worker not get started? What does your worker code look like?
from net_gearman.
This looks odd:
WORKER Adding job job2 ; timeout:
There is no timeout there. If there is not timeout, the logs don't add the timeout:
label. e.g.
21468 WORKER Adding job Reverse_String
I am guessing something in your config is setting a bad timeout and perhaps there is some bug in the code that is treating that as zero. I can't replicate that with the config you showed above.
from net_gearman.
No new feedback
from net_gearman.
Related Issues (19)
- Determine if no job servers were connected to HOT 15
- 012-client-runSet.phpt HOT 2
- Need to send WORK_EXCEPTION when an exception is thrown
- Package name HOT 1
- Regarding a Binary Argument and the Gearman MySQL Queue HOT 7
- Handling Job Retries Elegantly HOT 3
- hi Net_Gearman is already installed HOT 2
- Could not find package brianlmoon/net_gearman at any version for your minimum-stability HOT 1
- socket_set_block causing close latency HOT 22
- Any support for context? HOT 1
- If connection drops in the middle of worker init, then socket is not connected, but Worker destruct still tries to blindly write to it HOT 3
- Could you please confirm this work with php7? HOT 4
- No task by that handle HOT 3
- Returning data from a function HOT 1
- fix for package.xml
- PHP 8.1 Notices HOT 1
- Net_Gearman_Connection::close()
- not a problem HOT 1
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 net_gearman.