Skip to main content

Table is marked as crashed and should be repaired errors

Comments

6 comments

  • GOT
    Any chance your disk is nearly full?
    0
  • suphatchai
    Thank you for information. I check disk found available 3.7G Use 93%
    0
  • GOT
    Going to be interesting chasing this down. Its going to be difficult for us to try to do this in a forum. I will point out that you are saying its running php 7.1, but the apache log error indicates it might be 7.0 /var/cpanel/php/sessions/ea-php70 That is the path in your error log. The first part of the mysql logs are of no concern, though you may want to consider disabling skip-name-resolve in your my.cnf. If I had to speculate, I would suggest that it is possible that your server ran out of ram and the kernel killed the mysql process which caused the tables to crash. You need to run a repair on the database, and check your my.cnf settings and lower some of your memory settings. mysqltuner might be of assistance here: cd /usr/local/sbin wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl chmod 755 /usr/local/sbin/mysqltuner.pl mysqltuner.pl
    0
  • suphatchai
    Thank you information. I'll try again :)
    0
  • cPanelLauren
    High load or memory issues could also cause issues with MySQL - especially if services are crashing. What is the output of the following: sar -p sar -r
    0
  • suphatchai
    Thank you information. I will test and tell again.
    0

Please sign in to leave a comment.