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

USR2 signal is happening but my resque job is going to dirty exit #1882

Open
Moneshs opened this issue Oct 3, 2023 · 2 comments
Open

USR2 signal is happening but my resque job is going to dirty exit #1882

Moneshs opened this issue Oct 3, 2023 · 2 comments

Comments

@Moneshs
Copy link

Moneshs commented Oct 3, 2023

We are the running the resque-pool process once the termination of the pod we are using the signal usr2 and worker processing jobs is in the processing state but when we check in the redis it has marked as the dirty exit and my jobs in the processing state.

@Moneshs Moneshs changed the title USR2 signal is happening resque job is going to dirty exit USR2 signal is happening but my resque job is going to dirty exit Oct 3, 2023
@PatrickTulskie
Copy link
Contributor

I've seen this happen before in some k8s setups where the job takes too long to wrap up and winds up getting killed. Might want to tweak your pod killing timeouts and ensure the correct signals are being sent for rescue-pool (which is a different repo).

@Moneshs
Copy link
Author

Moneshs commented Oct 3, 2023

@PatrickTulskie Job takes usually 4-5 mins but my prestop script doesn't kill untill the jobs is completed. The problem is job is in the processing state i can see it ps aux but even it in the processing state its in the dirty exit. Its happens only when the pods is in terminated

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