Re: daemontools and mysqld
[email protected] (Paul Jarc) Wed, 06 Sep 2006 00:34:30 -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: > Actually, no. localhost.pid contains the last pid in > the group of mysqld processes (it is a mysqld pid). That's not what your previous message showed. localhost.pid contained 4858, and that process ID belonged to the supervise process monitoring mysqld. It showed up in the ps|grep list because it contained "mysql" in its argument, not in the command name. > Now the question is: How do I get daemontools to send > the SIGTERM to the last mysqld pid instead of the > first? supervise isn't designed for that. It can send signals only to its immediate child. paul