-
Notifications
You must be signed in to change notification settings - Fork 220
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
Add manual steps describing how to check launcher behavior regarding POSIX signals #77
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nice.
In order to make it more complete maybe we could add also cases for:
SIGQUIT
->Ctrl + \
SIGKILL
->kill -9
cf: https://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html
Sure 👍, though, keep in mind that we do not handle the We had a chat this morning with @rvl about a way to handle that by having a shared socket between the supervisor process and its children. When the supervisor gets closed, one end of the socket will get closed as well, cascading to the child which will also terminate. For now, I'll mention the current behavior in the steps, and we can refine it later for the |
Yes, I noticed some comments about Just thinking If we won't support |
Well, it's not that we don't support Yet, ideally, we do want to "link" our launcher to the spawned processes at the system level, such that the OS will make sure to terminate the subprocesses when we kill the parent. One way to do that is to have a shared socket between the launcher and its children (which will anyway be the case with the new Haskell node since we'll communicate through a pipe). |
Well, not very fortunate selection of words on my side but that's what I actually meant by saying |
d916efc
to
fc8acc0
Compare
fc8acc0
to
5a74429
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
Issue Number
#8
Overview
SIGINT
andSIGTERM
are handled properlyComments
It's more about having that written that so that, we won't forget to test it upon releases!