Description:
Mysqld seems to ignore SIGTERM, yet shuts down cleanly using mysqladmin shutdown.
How to repeat:
scott# ps auxww | grep mysqld
mysql 13723 0.2 -3.0 637928 62464 std S 6:15AM 0:02.18 /usr/local/mysql/bin/mysqld --defaults-extra-file=/usr/local/mysql/data/my.cnf --basedir=/usr/local/mysql --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/mysqld.pid
root 13701 0.0 -0.0 18644 640 std S 6:15AM 0:00.01 sh ./bin/mysqld_safe --datadir=/var/db/mysql --pid-file=/var/db/mysql/mysqld.pid
scott# kill 13723
root 13701 0.0 -0.0 18644 640 std S 6:15AM 0:00.01 sh ./bin/mysqld_safe --datadir=/var/db/mysql --pid-file=/var/db/mysql/mysqld.pid
mysql 13723 0.0 -3.0 637928 62444 std S 6:15AM 0:01.87 /usr/local/mysql/bin/mysqld --defaults-extra-file=/usr/local/mysql/data/my.cnf --basedir=/usr/local/mysql --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/mysqld.pid
scott# mysqladmin -p shutdown
Enter password:
scott# ps auxww | grep mysqld
root 14228 0.0 -0.0 10372 152 std R+ 6:35AM 0:00.00 grep mysqld