Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty queue or stacked active jobs after reboot #129

Closed
gavrochelegnou opened this issue Sep 6, 2012 · 9 comments
Closed

Empty queue or stacked active jobs after reboot #129

gavrochelegnou opened this issue Sep 6, 2012 · 9 comments

Comments

@gavrochelegnou
Copy link

Hi,

I noticed two issues with "improper" shutdown of kue, typically after a "reboot" command.
After the first reboot my queue was still there, a job from the queue succesfully passed as "active" but the job running before the reboot was still in "active" state but was not running at all.
I think it should have restarted or been marked as "Failed" ?
(I noticed the same behavior when running kue from command line and hiting CTRL+C)

I tried a second reboot just after that and then everything was empty (queue/active/failed/...)
I noticed some errors related to redis (lost connection i suppose) but they were not logged so can't paste them here, may try again if needed.

Is there a specific way to reboot the server and have kue handle it correctly ?

Thanks a lot for the good work !

@sebicas
Copy link

sebicas commented Sep 8, 2012

I am having the same problems.

@spolu
Copy link

spolu commented Sep 25, 2012

same here

@gkrcode
Copy link

gkrcode commented Oct 12, 2012

Same here
@gavrochelegnou , @sebicas , @spolu find any solution ?

@gavrochelegnou
Copy link
Author

Nop, we moved to gearman http://gearman.org/ , a little trickier to setup and missing a nice ajax interface, but much more stable for managing queues and jobs ...
For our problem i think it might be link to redis persistence configuration, but we didn't investigate further ...
Good luck !

@spolu
Copy link

spolu commented Oct 12, 2012

Here we ditched kue for a much simpler solution we coded and based on mongoDB

@sebicas
Copy link

sebicas commented Oct 12, 2012

Nop :( I use flushdb directly in redis to have a fresh start every couple weeks...
But you only can do that if have no inactive task pending of course.

@gkrcode
Copy link

gkrcode commented Oct 13, 2012

Thanks all :)

@sveisvei
Copy link

sveisvei commented Nov 7, 2012

Used alot of time debugging my app because of this issue, anoying. Because of this, somehow the data was 1 index off. Guess we need a pullreq :)

@bulkan
Copy link
Contributor

bulkan commented Jun 25, 2013

This issue is a duplicate of #121 and related to #105

@drudge @visionmedia please close this issue 😄

@drudge drudge closed this as completed Jun 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants