Bug #16449 | mysqld crash during big delete query | ||
---|---|---|---|
Submitted: | 12 Jan 2006 12:22 | Modified: | 2 Feb 2006 8:14 |
Reporter: | kost kost | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.0.18 | OS: | FreeBSD (FreeBSD 5.1-RELEASE) |
Assigned to: | CPU Architecture: | Any |
[12 Jan 2006 12:22]
kost kost
[12 Jan 2006 13:46]
Valeriy Kravchuk
Thank you for a problem report. Please, send the SHOW CREATE TABLE phpbb_search_results results. Is there anything unusual in the error log (should be, if it is a crash)?
[1 Feb 2006 18:50]
Guy Baconnière
I have added a new ticket Bug #17019 in order to publish files sample of this problem. Today we have one server crashed out of memory because of this bug the memory allowed to mysql at this point was 2G !!
[1 Feb 2006 23:19]
Jorge del Conde
Thanks for your bug report
[1 Feb 2006 23:20]
Jorge del Conde
This bug seems to be the same as the one reported here: http://bugs.mysql.com/bug.php?id=15872
[2 Feb 2006 8:14]
kost kost
Here is table structure: CREATE TABLE `phpbb_search_results` ( `search_id` int(11) unsigned NOT NULL default '0', `session_id` varchar(32) NOT NULL default '', `search_array` text NOT NULL, PRIMARY KEY (`search_id`), KEY `session_id` (`session_id`) ) TYPE=MyISAM
[2 Feb 2006 16:26]
Guy Baconnière
When do plan to resolve this critical issue ? PHPBB a very popular forum can DoS any MySQL 5.0 server using NOT IN (... 400k of IDs ...). By the way anyone flooding a PHPBB sessions table online can make MySQL 5.0 use all memory / resources... I have proposed to PHPBB Team a SQL alternative to NOT IN () see http://www.infomaniak.ch/phpbb2/phpBB2-MySQL5.txt http://www.infomaniak.ch/phpbb2/phpBB2-MySQL5.patch I hope you will fix this as soon as possible