Skip to main content

Abnormal MySQL Behavior : Unresolved Errors

Comments

10 comments

  • cPanelMichael
    Hello :) I suggest letting MySQL run for at least 24 hours before running the tuner to obtain accurate results. Thank you.
    0
  • MekGro
    Thanks for the response but that seems unrealistic as in between timespan of 24 hours my server will need restart because of one or the other reason. Sometimes i am some editing is being done from backend and server gives up resulting in mysql error. BTW: is it required to disable cache when we are working on magento admin. Regards
    0
  • cPanelMichael
    Could you let us know some of the specific output to /var/lib/mysql/$hostname.err when these issues occur? Thank you.
    0
  • MekGro
    how can check the error logs of a specific date with "/var/lib/mysql/$hostname.err"
    0
  • cPanelMichael
    You can search the log file with the "grep" command. EX:
    grep $date /var/lib/mysql/$hostname.err
    Thank you.
    0
  • MekGro
    hi, thanks for reverting back, as suggest the error log(when the issue occurred) is follow:- 160101 23:33:02 [ERROR] /usr/sbin/mysqld: Table './eximstats/sends' is marked as crashed and should be repaired 160101 23:33:02 [ERROR] /usr/sbin/mysqld: Table './eximstats/failures' is marked as crashed and should be repaired 160101 23:34:01 [ERROR] /usr/sbin/mysqld: Table './eximstats/sends' is marked as crashed and should be repaired 160101 23:34:01 [ERROR] /usr/sbin/mysqld: Table './eximstats/sends' is marked as crashed and should be repaired 160101 23:34:01 [ERROR] /usr/sbin/mysqld: Table './eximstats/sends' is marked as crashed and should be repaired 160101 23:34:01 [ERROR] /usr/sbin/mysqld: Table './eximstats/defers' is marked as crashed and should be repaired 160101 23:34:01 [ERROR] /usr/sbin/mysqld: Table './eximstats/failures' is marked as crashed and should be repaired 160101 23:34:01 [ERROR] /usr/sbin/mysqld: Table './eximstats/defers' is marked as crashed and should be repaired The error log is filled with eximstats issue, is this the culprit of my issues. what should i do next. Regards
    0
  • cPanelMichael
    You can repair the "eximstats" database via a command such as:
    mysqlcheck --repair eximstats
    After that, I recommend modifying the following option under the "Stats and Logs" tab in "WHM Home " Server Configuration " Tweak Settings": "The interval, in days, to retain Exim stats in the database" You can reduce the number of days if you find there is too much disk space utilized by the eximstats database. Thank you.
    0
  • MekGro
    Is this issue normal thing that happens or is it unusual. So, according to you "eximstats" is the reason behind high usage. If in future any thing with resources go wrong i should see "/var/lib/mysql/$hostname.err" ? BTW i also notice some leechprotect using high amount of resources. What should i do for "leechprotect" Thanks + Regards
    0
  • cPanelMichael
    The log does not indicate the "eximstats" database is the culprit, but rather it's filling up the logs so it's a good idea to correct the issue. The following thread will help if your goal is to determine the source of the load issue: Troubleshooting high server loads on Linux servers Thank you.
    0
  • MekGro
    Sorry for replying soo late & thanks alot for the above link and support.
    0

Please sign in to leave a comment.