Re: daemontools and mysqld

"Gary C. New" <[email protected]> Wed, 6 Sep 2006 01:43:52 -0700 (PDT)
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Are we referring to the same message?  The message I
am referencing shows supervisor as pid 4848 (not
4858).

Thank you for your assistance.

Respectfully,


Gary


--- Paul Jarc <[email protected]> wrote:

> "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
>