Bug #25996 | MySQL goes to 99% CPU usage when client is disconnecting | ||
---|---|---|---|
Submitted: | 31 Jan 2007 23:03 | Modified: | 2 Mar 2007 7:47 |
Reporter: | bbkr | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Locking | Severity: | S3 (Non-critical) |
Version: | 5.0.32 | OS: | Linux (Gentoo Linux x86_64) |
Assigned to: | CPU Architecture: | Any | |
Tags: | cpu, usage |
[31 Jan 2007 23:03]
bbkr
[1 Feb 2007 11:39]
Sveta Smirnova
Thank you for the report. Which package do you use? (I.e. provide accurate url you download it from)
[2 Feb 2007 1:42]
bbkr
you were right. here is piece of emerge mysql package under Gentoo. >>> Emerging (1 of 1) dev-db/mysql-5.0.32 to / * mysql-extras-20070108.tar.bz2 MD5 ;-) ... [ ok ] * mysql-extras-20070108.tar.bz2 RMD160 ;-) ... [ ok ] * mysql-extras-20070108.tar.bz2 SHA1 ;-) ... [ ok ] * mysql-extras-20070108.tar.bz2 SHA256 ;-) ... [ ok ] * mysql-extras-20070108.tar.bz2 size ;-) ... [ ok ] * mysql-5.0.32.tar.gz MD5 ;-) ... [ ok ] * mysql-5.0.32.tar.gz RMD160 ;-) ... [ ok ] * mysql-5.0.32.tar.gz SHA1 ;-) ... [ ok ] * mysql-5.0.32.tar.gz SHA256 ;-) ... [ ok ] * mysql-5.0.32.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mysql-5.0.32.tar.gz ;-) ... [ ok ] * checking mysql-extras-20070108.tar.bz2 ;-) ... [ ok ] * Berkeley DB support is deprecated and will be removed in future versions! >>> Unpacking source... * MySQL DATADIR is /var/lib/mysql * Previous datadir found, it's YOUR job to change * ownership and take care of it >>> Unpacking mysql-5.0.32.tar.gz to /var/tmp/portage/dev-db/mysql-5.0.32/work >>> Unpacking mysql-extras-20070108.tar.bz2 to /var/tmp/portage/dev-db/mysql-5.0.32/work * using '035_x86_asm-pic-fixes-4.1.12.patch' * > remove page relocations * > Most part of the original patch has already been accepted by MysQL, * > here is the remaining. * > _many_ thanks to pageexec@freemail.hu * using '105_all_mysql_config_cleanup.patch' * > fix bug #156301 mysql_config wrongly retains too much info from CFLAGS * using '702_all_trigger-rename-fail-as-root-5.0.26.patch' * > portage normally ran as root, MySQL tests are designed to be used * > with lower priviledges * using '703_all_test-rpl_rotate_logs-5.0.21.patch' * using '704_all_disable_mybug_9735_test.patch' * > disable a test that fail on longtext field lenght, the expected value is * > three times the returned one, look like a multibyte character related * > failure. * using '705_all_we-are-in-2007-now.patch' * > the view.test is year dependant * Applying various patches (bugfixes/updates) ... * 105_all_mysql_config_cleanup.patch ... [ ok ] * 702_all_trigger-rename-fail-as-root-5.0.26.patch ... [ ok ] * 703_all_test-rpl_rotate_logs-5.0.21.patch ... [ ok ] * 704_all_disable_mybug_9735_test.patch ... [ ok ] * 705_all_we-are-in-2007-now.patch ... [ ok ] * Done with patching * Reconfiguring dir '.' .... they use mysql-5.0.32.tar.gz (i dont know if it's your official package, md5 is ccdcddf97fab88d7d6bd43dff73bf61b) from gentoo sources repository but they also add some patches to it. ill try to remove those patches and build it again to see what will happen.
[2 Feb 2007 7:47]
Sveta Smirnova
>ill try to remove those patches and build it again to see what will happen. Even would be better if you try with our 5.0.33 sources accessible from http://dev.mysql.com/downloads/mysql/5.0.html
[3 Mar 2007 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".