Bug #19094 | MySQL keeping Crash and Restart, log file show a pointer error | ||
---|---|---|---|
Submitted: | 14 Apr 2006 3:21 | Modified: | 24 Apr 2006 15:22 |
Reporter: | liu liu | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 4.1.18 | OS: | Linux (RH 9.0) |
Assigned to: | CPU Architecture: | Any |
[14 Apr 2006 3:21]
liu liu
[14 Apr 2006 8:22]
MySQL Verification Team
Please, run a memory test (memtest86) on your server to verify hardware is okay. Or is it ECC memory?
[14 Apr 2006 8:47]
liu liu
thanks for your help,but our server has 2G ECC memory...
[14 Apr 2006 10:23]
MySQL Verification Team
Hi, Please show us the table structures of both tables. SHOW CREATE TABLE <table>\G This could be a memory leak, http://bugs.mysql.com/bug.php?id=18160. I will confirm.
[14 Apr 2006 10:45]
liu liu
CREATE TABLE `pstat_cache_heap` (\n `uid` bigint(20) NOT NULL auto_increment,\n `memberid` bigint(20) NOT NULL default '0',\n `visittime` int(11) NOT NULL default '0',\n `isstat` tinyint(1) NOT NULL default '0',\n `ip` varchar(15) NOT NULL default '',\n `system` varchar(32) default NULL,\n `pageurl` varchar(255) default NULL,\n `pagefrom` varchar(255) default NULL,\n `language` varchar(16) default NULL,\n `screensize` varchar(20) default NULL,\n `screencolor` varchar(5) default NULL,\n `browser` varchar(32) default NULL,\n `country` varchar(32) default NULL,\n `address` varchar(50) default NULL,\n PRIMARY KEY (`uid`),\n KEY `memberid` (`memberid`,`isstat`,`country`)\n) ENGINE=HEAP DEFAULT CHARSET=utf8 CREATE TABLE `pstat_stat_heap` (\n `uid` bigint(20) NOT NULL auto_increment,\n `memberid` bigint(20) NOT NULL default '0',\n `archiveTBLname` varchar(50) NOT NULL default '',\n `allcountpv` bigint(20) NOT NULL default '0',\n `allcountip` bigint(20) NOT NULL default '0',\n `todaycountpv` bigint(20) NOT NULL default '0',\n `todaycountip` bigint(20) NOT NULL default '0',\n `todaytime` int(11) NOT NULL default '0',\n `thishourpv` int(11) NOT NULL default '0',\n `thishourip` int(11) NOT NULL default '0',\n PRIMARY KEY (`uid`),\n KEY `memberid` (`memberid`),\n KEY `archiveTBLname` (`archiveTBLname`)\n) ENGINE=HEAP DEFAULT CHARSET=utf8 THANK YOU
[18 Apr 2006 7:42]
MySQL Verification Team
Liu, I ran insert/delete/select for many hours without a crash - and used multiple concurrent connections. Can you provide some testcase/script to simulate the workload that causes a crash?
[21 Apr 2006 7:12]
liu liu
our database administrator had already update the DB to mysql5 and the error never happened. by the way ,we use the "memory leak patch" you showed to us but the crash goes on. still thank you a lot.