Bug #36910 | Mysql Server has gone away | ||
---|---|---|---|
Submitted: | 23 May 2008 10:46 | Modified: | 27 Sep 2008 10:07 |
Reporter: | Bijumon K N | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.45 | OS: | Windows (XP SP2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | away, gone |
[23 May 2008 10:46]
Bijumon K N
[23 May 2008 16:07]
Sveta Smirnova
Thank you for the report. But version 5.0.45 is a bit old. Please try with current version 5.0.51a and if problem still exists please provide output of SHOW CREATE TABLE uploaddata and error log file (add option log-error to the configuration file).
[27 May 2008 5:32]
Bijumon K N
Dear Sveta Smirnova, Thanks for the reply. Due to technical reason, we can't upgrade our server. So we have to find the reason for this. The Show table output is(NOTE: the table name is tstamp, not uploaddata) tstamp CREATE TABLE `tstamp` ( `ts_ID` bigint(20) unsigned NOT NULL, `ts_Tmp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, `ts_Query` text, `Disp_ID` varchar(50) default NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 We switched on the error and warning log option last week end. we found the following lines intersting.... 080526 13:30:41 [Warning] Aborted connection 17 to db: 'mysql' user: 'root' host: 'localhost' (Got an error reading communication packets) 080526 20:20:17 [Warning] Aborted connection 32461 to db: 'mysql' user: 'root' host: 'localhost' (Got an error reading communication packets) 080526 22:24:32 [Warning] Aborted connection 40326 to db: 'mysql' user: 'root' host: 'localhost' (Got an error reading communication packets) 080526 22:35:52 [Warning] Aborted connection 41236 to db: 'mysql' user: 'root' host: 'localhost' (Got an error reading communication packets) Also, I have started to feel that these lines in our my.ini read_buffer_size=64K read_rnd_buffer_size=256K sort_buffer_size=212K are too low. Do you think so? Regards, Bijumon
[27 May 2008 9:20]
Bijumon K N
Well, I have these errors messages from one of my client's machine.. 080527 7:32:56 InnoDB: Started; log sequence number 0 292294507 080527 7:32:56 [Note] C:\Program Files\Carego\mysql\bin\mysqld-nt.exe: ready for connections. Version: '5.0.45-community-nt-log' socket: '' port: 3306 MySQL Community Edition (GPL) 080526 8:06:15 [Warning] Aborted connection 1024 to db: 'mysql' user: 'root' host: 'localhost' (Got an error reading communication packets) 080527 8:58:18 [Warning] Aborted connection 3 to db: 'carego' user: 'carego' host: 'localhost' (Got timeout reading communication packets) 080527 8:58:18 [Warning] Aborted connection 898 to db: 'carego' user: 'carego' host: 'localhost' (Got timeout reading communication packets) 080527 11:35:00 [Warning] Aborted connection 3633 to db: 'mysql' user: 'root' host: 'localhost' (Got an error reading communication packets) 080527 11:37:04 [Warning] Aborted connection 3720 to db: 'mysql' user: 'root' host: 'localhost' (Got an error reading communication packets) 080527 12:34:22 [Warning] Aborted connection 4613 to db: 'mysql' user: 'root' host: 'localhost' (Got an error reading communication packets) 080527 14:23:35 [Note] C:\Program Files\Carego\mysql\bin\mysqld-nt.exe: Normal shutdown My application logged the "gone away" error at ... 27-05-08 8:58:21 AM and 27-05-08 8:58:25 AM That points to the errors 080527 8:58:18 [Warning] Aborted connection 3 to db: 'carego' user: 'carego' host: 'localhost' (Got timeout reading communication packets) 080527 8:58:18 [Warning] Aborted connection 898 to db: 'carego' user: 'carego' host: 'localhost' (Got timeout reading communication packets) BTW, the "wait_timeout" is set at 28800 So, any opnions or conclusions? regards, Vishnu
[27 Aug 2008 10:07]
Sveta Smirnova
Thank you for the feedback. I can not repeat described behavior with test data. Please try current version 5.0.67 and if problem still exists send output of: select now(); select coalesce(sum(length(ts_Query)),0) as 'SIZECNT' from tstamp; select now(); explain extended select coalesce(sum(length(ts_Query)),0) as 'SIZECNT' from tstamp; show warnings;
[27 Sep 2008 23: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".