-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Worker hangs sometimes #63
Comments
I refactored process manager and since then there were no hangs. But I do believe that process manager can be updated, so it will react instantly to the events. One of the proposed solutions would be:
Or we can come up with better solution. |
Do we know what causes this to happen? I've been experiencing it fairly often and I usually have to |
Actually it's a mystery for me. Most probably it happens because workers start before singral interceptors are called. Because I only experienced it when I was sending "^C" signal before the startup sequence was complete. |
Sometimes we fall into state, when taskiq worker hangs and doesn't react to signals like SIGTERM.
We need to fix it, since it's really annoying. Maybe we should differently work with child processes.
The text was updated successfully, but these errors were encountered: