Skip to main content

MySQL crashes every other day, tuning ideas?

Comments

3 comments

  • cPanelMichael
    Hello :) Is there any specific output in the MySQL error log (/var/lib/mysql/$hostname.err) when MySQL fails? Thank you.
    0
  • unicornication
    Hi! There is no error, but upon doing a little digging- it looks like MySQL is consuming too much memory and being killed by the OOM killer. I have approximately 130 InnoDB tables with a couple hundred users accessing per hour- assuming 20-50 max-connections, I don't think my.cnf is configured to do this in the most effective way?
    0
  • cPanelMichael
    You may want to run a MySQL tuner script again after letting MySQL run for 24 hours and implement any additional recommendations it provides. Thank you.
    0

Please sign in to leave a comment.