Re: daemontools and mysqld

[email protected] (Paul Jarc) Tue, 05 Sep 2006 20:51:47 -0400
Newsgroups gmane.comp.djb.syslog
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
"Gary C. New" <[email protected]> wrote:
> From the MySQL Docs it appears it should interpret the
> SIGTERM appropriatly.

Since it apparently isn't, look at what it's doing.  Run svstat to
find the process ID of the service, use "ps p $PID" (or "ps -p $PID"
on SysV-based systems) to verify that that process is mysqld, and then
do a system call trace on that process ("strace -p $PID" on Linux,
"truss -p $PID" on Solaris, "ktrace somethingorother" on BSD).


paul