Skip to main content

MySQL Randomly Fails then Recovers

Comments

4 comments

  • cPanelMichael
    Hello :) Do you notice any additional messages in the MySQL error log (/var/lib/mysql/$hostname.err) at the time of the failures? Thank you.
    0
  • jabelone
    Hi, sorry for the late reply - for some reason the forum didn't email me when you replied. Here is the last bit of the log from this morning, when it happened again. I have included a lot of the "before it crashed" if that helps. I got a cPanel service monitor email saying it had failed right around 11:22. P.S. Sorry for the terrible formatting in the OP, I don't know what happened and it won't let me edit it. - Removed - No Need For That Much Output in a Thread -
    0
  • jabelone
    This has been resolved after opening a support ticket with cPanel. As can be seen by these two entries in the log file, the server was running out of memory.
    Jul 14 18:50:15 gallifrey kernel: Out of memory: Kill process 22589 (mysqld) score 159 or sacrifice child Jul 14 18:50:15 gallifrey kernel: Killed process 22589, UID 498, (mysqld) total-vm:1349600kB, anon-rss:161992kB, file-rss:244kB
    0
  • cPanelMichael
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.