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

RFE: catch sigterm/sigint/sigquit #15

Open
martinetd opened this issue May 19, 2020 · 0 comments
Open

RFE: catch sigterm/sigint/sigquit #15

martinetd opened this issue May 19, 2020 · 0 comments

Comments

@martinetd
Copy link
Contributor

If a job is cancelled, SelFIe will not log anything when the process is killed.

It is possible to intercept the stop signals (int term quit) and print stats (& remember it's been printed to avoid duplicates if handled properly?) then propagate (get existing handler, handle, call next one; if no next one unregister oneself and send again maybe? would need to check that part) so one could get logs on jobs being cancelled, unless they're stuck in IO or something until sigkill finally comes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants