Re: daemontools and mysqld
"Gary C. New" <[email protected]> Tue, 5 Sep 2006 17:48:09 -0700 (PDT)
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
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` Is it possible that daemontools isn't issuing the SIGTERM to the correct mysqld pid? Where can I find more information on this "want down" message reported by daemontools? What about the daemontools logs? Thank you for your assitance. Respectfully, Gary --- "Gary C. New" <[email protected]> wrote: > From the MySQL Docs it appears it should interpret > the > SIGTERM appropriatly. > > http://dev.mysql.com/doc/refman/4.1/en/server-shutdown.html > > > Gary > > > --- "Gary C. New" <[email protected]> wrote: > > > They are actually all on the same line. > > > > I am not sure what MySQL says about SIGTERM. I'll > > look into it. > > > > > > Gary > > > > > > --- Paul Jarc <[email protected]> wrote: > > > > > "Gary C. New" <[email protected]> wrote: > > > > exec /usr/bin/envuidgid mysql > > > > /usr/local/mysql/bin/mysqld > > > > > > --defaults-extra-file=/usr/local/mysql/data/my.cnf > > > > --basedir=/usr/local/mysql > > > --datadir=/home/mysql/data/ > > > > --user=mysql > > > > --pid-file=/usr/local/mysql/data/localhost.pid > > > > --skip-locking > > > > > > Are these actually separate lines in your > script, > > or > > > is it one line > > > and your email program wrapped it? You can > split > > it > > > onto separate > > > lines in the script, but you have to add "\" at > > the > > > end of each line > > > other than the last. > > > > > > What does mysqld's documentation say about how > it > > > responds to SIGTERM? > > > That's what supervise sends when you run "svc > -d". > > > > > > > > > paul > > > > > > > > >