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

Send a warning signal to tasks before killing them #1349

Open
tuulos opened this issue Apr 6, 2023 · 0 comments · May be fixed by #2129
Open

Send a warning signal to tasks before killing them #1349

tuulos opened this issue Apr 6, 2023 · 0 comments · May be fixed by #2129
Labels
enhancement New feature or request

Comments

@tuulos
Copy link
Collaborator

tuulos commented Apr 6, 2023

Today runtime.py kills running tasks when one of them crashes (worker.kill()). With this approach, it is impossible to tear down resources used by tasks gracefully.

We could send workers a warning signal which they can catch and process, a few seconds prior to SIGKILL, to allow them to clean up before terminating.

@tuulos tuulos added the enhancement New feature or request label Apr 6, 2023
@madhur-ob madhur-ob linked a pull request Nov 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant