Bug #27310 | mysqld shutdown hangs | ||
---|---|---|---|
Submitted: | 20 Mar 2007 22:26 | Modified: | 23 May 2007 9:02 |
Reporter: | Gabriel Tataranu | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | 5.0.37, 5.0.36 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[20 Mar 2007 22:26]
Gabriel Tataranu
[21 Mar 2007 12:25]
Valeriy Kravchuk
Thank you for a problem report. Please, send/upload your MySQL server's error log, and send the results of: uname -a df -k free
[21 Mar 2007 14:45]
Gabriel Tataranu
as requested: # uname -a Linux dbi3 2.6.19-gentoo-r5 #4 SMP Fri Mar 16 08:57:13 EDT 2007 x86_64 AMD Opteron(tm) Processor 246 GNU/Linux # df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 2118832 1991128 106180 95% / udev 4063152 112 4063040 1% /dev /dev/sda3 988244 21384 956820 3% /var /dev/sda6 129372448 22704 129349744 1% /mnt/backup /dev/sda5 9765248 22760 9742488 1% /data/dbdata Database (just created by mysql_installdb) is in /data/dbdata. The filesystem is xfs but it has been tested with ext2 as well. # free total used free shared buffers cached Mem: 8126304 558516 7567788 0 23376 390636 -/+ buffers/cache: 144504 7981800 Swap: 1004052 0 1004052
[21 Mar 2007 15:03]
Gabriel Tataranu
Forgot .err file. The last line at shutdown reads: 070321 11:00:55 [Note] /usr/local/mysql-test/libexec/mysqld: Normal shutdown But the shutdown still goes on and never ends.
[22 Mar 2007 7:25]
Valeriy Kravchuk
Please, upload the entire error log. Send also the results of: getconf GNU_LIBPTHREAD_VERSION getconf GNU_LIBC_VERSION
[27 Mar 2007 15:23]
Gabriel Tataranu
$ getconf GNU_LIBPTHREAD_VERSION linuxthreads-0.10 $ getconf GNU_LIBC_VERSION glibc 2.5 $ more /server.err 070321 15:48:28 mysqld started 070321 15:48:28 InnoDB: Started; log sequence number 0 43655 070321 15:48:28 [Note] /usr/local/mysql/libexec/mysqld: ready for connections. Version: '5.0.37' socket: '/tmp/mysql.sock' port: 3306 Source distribution 070321 15:48:58 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown
[28 Mar 2007 18:57]
Sergei Golubchik
already pushed in 5.1-build
[20 Apr 2007 12:26]
Wolfram Schlich
When will a fixed 5.0 version be released?
[20 Apr 2007 12:29]
Sergei Golubchik
fixed in 5.0.42 and 5.1.18
[20 Apr 2007 12:33]
MySQL Verification Team
Bug: http://bugs.mysql.com/bug.php?id=27977 was marked as duplicate of this one.
[20 Apr 2007 12:36]
Mads Martin Joergensen
Paul, make that 5.0.40
[20 Apr 2007 12:37]
Sergei Golubchik
fixed in 5.0.40 actually
[20 Apr 2007 12:38]
Wolfram Schlich
paul == sergei?! ;) *confused*
[20 Apr 2007 12:44]
Wolfram Schlich
I fail to find any download links for versions >5.0.37 on http://dev.mysql.com/downloads/mysql/5.0.html#source and even ftp://ftp.mysql.com/pub/mysql/src/ has only 5.0.38... :(
[20 Apr 2007 12:50]
Mads Martin Joergensen
5.0.40 wasn't released yet. Patience now :)
[24 Apr 2007 17:00]
Paul DuBois
Noted in 5.0.40, 5.1.18 changelogs. The server did not shut down cleanly.
[22 May 2007 3:43]
Fred Tyler
I have the same problem. Seeing it in 5.0.41, so it's not fixed yet. root@srv$ uname -a Linux a0 2.6.15.7 #1 SMP Sat Jul 1 06:26:14 GMT 2006 i686 unknown unknown GNU/Linux root@srv$ free total used free shared buffers cached Mem: 239536 222012 17524 0 47732 106336 -/+ buffers/cache: 67944 171592 Swap: 524280 59312 464968 root@srv$ getconf GNU_LIBPTHREAD_VERSION linuxthreads-0.10 root@srv$ getconf GNU_LIBC_VERSION glibc 2.3.5
[22 May 2007 12:30]
Valeriy Kravchuk
Bug is re-opened based on last comment and bug #28578 (that will be declared a duplicate). Looks like it has something to do with LinuxThreads as a default threading library.
[22 May 2007 19:21]
Fred Tyler
Please ignore my report and close this bug. I accidentally compiled 5.0.37 in a directory labeled 5.0.41, and thus was testing against the wrong version. This problem is indeed fixed in 5.0.41. I have tested it and mysqld shuts down fine now. Sorry for the trouble.
[23 May 2007 9:02]
Valeriy Kravchuk
Fixed in 5.0.41.