Re:How not to test that mysqld is alive
by jrockway on Monday October 05, 2009 @04:22PM
(#862687)
This is the correct answer -- when you fork the process yourself, you don't have to guess about it dying, you get SIGCHLD and can handle it accordingly.
If you use daemontools, this code is already written for you.
If you use daemontools, this code is already written for you.