Bug #7426 mysqld 4.1.7 ignores SIGTERM on OS X 10.3.6
Submitted: 20 Dec 2004 11:36 Modified: 20 Dec 2004 22:07
Reporter: Scott Wilson Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.1.7 OS:MacOS (OS X 10.3.6 (server))
Assigned to: CPU Architecture:Any

[20 Dec 2004 11:36] Scott Wilson
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
[20 Dec 2004 22:07] Hartmut Holzgraefe
can't repeat on 10.3.7 (non-server)