Giter Club home page Giter Club logo

Comments (5)

brianlmoon avatar brianlmoon commented on July 17, 2024

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.

softobizadmins avatar softobizadmins commented on July 17, 2024

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.

brianlmoon avatar brianlmoon commented on July 17, 2024

Does another worker not get started? What does your worker code look like?

from net_gearman.

brianlmoon avatar brianlmoon commented on July 17, 2024

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.

brianlmoon avatar brianlmoon commented on July 17, 2024

No new feedback

from net_gearman.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.