after a restart dmesg was full of errors (missing inodes and such)
after the restart mysqld was hanging at 100% and linux-noob.com (this site) was non-functional (timed out)
QUOTE
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2600 mysql 18 0 125m 25m 3764 S 100 5.0 27:25.50 mysqld
2600 mysql 18 0 125m 25m 3764 S 100 5.0 27:25.50 mysqld
I attempted to backup the current database before attempting to restore it from the last known good backup (from last sunday, as I have a cron job to backup everything once a week)
and the backup attempt failed
QUOTE
root@www bin]# ./mysqldump -u root -p forums >> forums_export.sql
Enter password:
mysqldump: Got error: 1016: Can't open file: 'ibf_sessions.MYI' (errno: 145) when using LOCK TABLES
Enter password:
mysqldump: Got error: 1016: Can't open file: 'ibf_sessions.MYI' (errno: 145) when using LOCK TABLES
because of this, I decided to forgo 3 days data (mon/tue/wed/) and attempted a restore from the last known good backup, that worked just fine and the site is back up and running again.
because of this failure I will now put in place two things,
daily mysqld backup and I will replace this server with a newer one (shortly).
cheers
anyweb