GithubHelp home page GithubHelp logo

Workers disappearing about fresque HOT 4 CLOSED

wa0x6e avatar wa0x6e commented on August 22, 2024
Workers disappearing

from fresque.

Comments (4)

wa0x6e avatar wa0x6e commented on August 22, 2024

Fresque does not log anything, logs are handled directly by php-resque itself.

What kind of 'stop' is it ?

1 - Workers died, but is still registered in fresque
2 - Workers died, and disappear from fresque too
3 - Workers is known as died from fresque, but is still alive

You can check if your workers process are still alive with ps aux | grep resque. There should be one process for each worker.

You can also check the redis log redis-cli monitor for workers activities.

from fresque.

rlweb avatar rlweb commented on August 22, 2024

It is three, since there is around 20 processes from running the ps command. I've kill'ed them all and restarted them via 'vendor/bin/fresque load'. Hopefully this might keep them going?

from fresque.

wa0x6e avatar wa0x6e commented on August 22, 2024

Workers should never disappear from Fresque, unless you run the fresque stop command yourself.

You mention that the workers disappear every couple of days, and they're disappearing from Fresque only, workers are still running. Only explication is someone tried to run fresque stop, or something weird is clearing the fresque data from Redis.

You found 20 processes from the ps command. How many workers are still alive in Fresque ?

from fresque.

rlweb avatar rlweb commented on August 22, 2024

Sorry for not replying back then! But yes the redis database was being flushed occasionally causing the issues. This can be closed now.

from fresque.

Related Issues (20)

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.