As discussed elsewhere, we can use prctl(PR_SET_DEATHSIG, ...) which is a Linux specific call instructing the kernel to send a specified signal to the current process when a parent process dies for whatever reasons.
With some modifications to the SST code, we can make the SST process cleanup its children when the parent process (mysqld) dies.
As discussed elsewhere, we can use prctl(PR_ SET_DEATHSIG, ...) which is a Linux specific call instructing the kernel to send a specified signal to the current process when a parent process dies for whatever reasons.
With some modifications to the SST code, we can make the SST process cleanup its children when the parent process (mysqld) dies.