MySQL Forums
Forum List  »  MyISAM

Tables keep crashing and corrupting
Posted by: Sebastião Burnay
Date: April 28, 2015 10:05AM

Hi!

I have a 64bits Ubuntu server 12.04 running a '5.5.31-0ubuntu0.12.04.2-log' MySQL serevr.

My server keeps crashing every other day and the apps that depend on this DB layer also freeze as consequence of DB unavailability.

Today I found this kind of error repeats itself several times in my error.log:
[ERROR] /usr/sbin/mysqld: Incorrect key file for table ...

people online are suggesting disk capacity is the root cause but I have space on my partititons... The only partition that shows high usage under crashing circumstances is the /dev/sdc where the /var/log folder is mounted, I don't understand this behaviour.

Furthermore, i share below info on my partition scheme.

If you need any more information, I will gladly share it.

Best regards,
Sebastião


-----------------------------------------------------------------------
My current FileSystem is as follows:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/SRVCARTMSBD01-root 38G 2.1G 34G 6% /
udev 2.0G 4.0K 2.0G 1% /dev
tmpfs 791M 316K 791M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 0 2.0G 0% /run/shm
/dev/sda1 228M 25M 192M 12% /boot
/dev/sdb 40G 20G 19G 51% /var/lib/mysql
/dev/sdc 7.0G 238M 6.4G 4% /var/log
-----------------------------------------------------------------------
My databases are inside /var/lib/mysql (/dev/sdb partition)
-----------------------------------------------------------------------
And my /tmp folder is mounted on my /
# df -P /tmp | tail -1 | cut -d' ' -f 1
/dev/mapper/SRVCARTMSBD01-root
-----------------------------------------------------------------------

Options: ReplyQuote


Subject
Views
Written By
Posted
Tables keep crashing and corrupting
3202
April 28, 2015 10:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.