Skip to content

on_failure_callback not being triggered on -9 error #40557

Answered by potiuk
AlejandroIzuel asked this question in General
Discussion options

You must be logged in to vote

That's correct behaviour. -9 means SIGKILL described for example here https://komodor.com/learn/what-is-sigkill-signal-9-fast-termination-of-linux-containers/ and it cannot be handled (it immediately forces the process to die without giving it any chance to react) - this is POSIX standard, so system level behaviour, not even Python behaviour.

SIGKILL is a sign that something TERRIBLE happened - and whatever sends SIGKILL is deliberately requesting the process to DIE instantly without giving it a chance to do anything. You need to find out what is the root cause for SIGKILL (something is forcefully killing your process - but what it is - only you can find out). Often it can be caused by re…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by AlejandroIzuel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug This is a clearly a bug area:core needs-triage label for new issues that we didn't triage yet
2 participants
Converted from issue

This discussion was converted from issue #40550 on July 02, 2024 16:44.