Hi,
Every once in a while a MySQL table gets corrupted somehow. Judging by the MySQL logs it is caused by a MySQL restart:
This happens 1-2 times a month, and only a table repair fixes the issue. Which script could be the cause for these restarts? It happens at different times, not always at 19:44.
It seems to be a 'clean' shutdown though, so I'm not sure if the script that restarts mysql is at fault. Could it be that the table got corrupted while in operation, and it shows when mysql is restarted?
Thanks
Every once in a while a MySQL table gets corrupted somehow. Judging by the MySQL logs it is caused by a MySQL restart:
070320 19:44:26 [Note] /usr/sbin/mysqld: Normal shutdown
070320 19:44:26 InnoDB: Starting shutdown...
070320 19:44:28 InnoDB: Shutdown completed; log sequence number 0 43634
070320 19:44:28 [Note] /usr/sbin/mysqld: Shutdown complete
070320 19:44:28 mysqld ended
070320 19:44:28 mysqld started
070320 19:44:28 [Warning] Asked for 196608 thread stack, but got 126976
070320 19:44:28 InnoDB: Started; log sequence number 0 43634
/usr/sbin/mysqld: ready for connections.
Version: '4.1.21-standard-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Edition - Standard (GPL)
070320 19:44:32 [ERROR] /usr/sbin/mysqld: Can't open file: 'cpg11dn_sessions.MYI' (errno: 145)
070320 19:44:32 [ERROR] /usr/sbin/mysqld: Can't open file: 'cpg11dn_sessions.MYI' (errno: 145)
070320 19:44:34 [ERROR] /usr/sbin/mysqld: Can't open file: 'cpg11dn_sessions.MYI' (errno: 145)
070320 19:44:34 [ERROR] /usr/sbin/mysqld: Can't open file: 'cpg11dn_sessions.MYI' (errno: 145)
070320 19:44:35 [ERROR] /usr/sbin/mysqld: Can't open file: 'cpg11dn_sessions.MYI' (errno: 145)
070320 19:44:35 [ERROR] /usr/sbin/mysqld: Can't open file: 'cpg11dn_sessions.MYI' (errno: 145)
070320 19:44:36 [ERROR] /usr/sbin/mysqld: Can't open file: 'cpg11dn_sessions.MYI' (errno: 145)
This happens 1-2 times a month, and only a table repair fixes the issue. Which script could be the cause for these restarts? It happens at different times, not always at 19:44.
It seems to be a 'clean' shutdown though, so I'm not sure if the script that restarts mysql is at fault. Could it be that the table got corrupted while in operation, and it shows when mysql is restarted?
Thanks
Last edited: