When a parent process is killed by "kill -9", will subprocess also be killed?
kill, linux, process, signals
Solution
You have to make the sub processes daemonic in order to have them killed when the father is killed (or dies), otherwise they are adopted by init(1).
Problem
One of my colleague told me this morning, when he killed supervisord by "kill -9", the subprocesses of supervisord is not killed. He is quite sure about that, but I tried many times and did not find that happen. So when a parent process is killed by "kill -9", will linux ensure that it's sub-processes also been killed?