Re: daemontools and mysqld

[email protected] (Paul Jarc) Tue, 05 Sep 2006 21:11:18 -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:
> I am able to kill the mysqld process running under
> deamontools when I issue the following command:
>
> kill -s SIGTERM `cat /home/mysql/data/localhost.pid`

While the service is up, compare the pid reported by svstat to the one
in localhost.pid, and show us what ps says about each of those
processes.

> Where can I find more information on this "want down"
> message reported by daemontools?

That means that supervise has sent SIGTERM to its child because of
"svc -d", but the process hasn't exited yet.

> What about the daemontools logs?

If mysqld writes its logs to stdout/stderr, you should find them in
/service/mysqld_or_whatever_you_call_the_service_directory/log/main/current.
Older logs will be rotated into log/main/@*.


paul