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

Occasionally jobs stuck in Enqueued #5029

Closed
Dyaromim opened this issue Oct 18, 2021 · 4 comments
Closed

Occasionally jobs stuck in Enqueued #5029

Dyaromim opened this issue Oct 18, 2021 · 4 comments

Comments

@Dyaromim
Copy link

Hello,
I need help finding the next problem:
Occasionally my jobs stuck in "Enqueued" and Sidekiq process is gone (meaning, no PID for "ps aux | grep sidekiq").
When I check the Sidekiq log file there is nothing unusual, I can not say what causes it and it seems to be happening sporadically (once in 48 hours or so).
After restarting Sidekiq service jobs continue and perform as expected.

Sidekiq 6.1.2
Rails 5.2.0

Thanks!

@mperham
Copy link
Collaborator

mperham commented Oct 22, 2021

This is fixed on main and will be in 6.3.0.

@mperham mperham closed this as completed Oct 22, 2021
@mperham
Copy link
Collaborator

mperham commented Oct 22, 2021

Oh wait, this is simply because your Sidekiq process is crashing. You will need to debug why it is crashing. This wiki page can help:

https://github.com/mperham/sidekiq/wiki/Problems-and-Troubleshooting

@Dyaromim
Copy link
Author

Hi Mike,
Thank you for your replay(s).

I checked the "Problems-and-Troubleshooting" in the wiki page but couldn't find a why to debug why the Sidekiq process is crashing. Can I write to the Sidekiq logs my self from the workers so maybe I could have a clue of what worker cause the problem and when.
Any other suggestion on how to fix the problem?

10x.

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

2 participants