Comment 4 for bug 1380697

Revision history for this message
Alexey Kopytov (akopytov) wrote :

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.