Skip to main content

High CPU usage from mysql process

Comments

4 comments

  • cPRex Jurassic Moderator
    Hey there! During one of the times you see the slowness with MySQL, run the following command: mysqladmin proc status
    and that will show you in real-time what is happening with the server. Once we have that data we may be able to make a recommendation.
    0
  • cyrilarnaud
    Of course since I posted this there are less problems the point that concerns me the most is the message "MySQL's maximum memory usage is dangerously high" in the mysqltuner.pl. I would like to understand how it's that high, and how I can optimize the usage of the memory and CPU I have available.
    0
  • cyrilarnaud
    I don't understand why, I can't paste here the result of mysqladmin
    0
  • cPRex Jurassic Moderator
    MySQL itself doesn't have a hard memory limit value. It takes several of the configuration options together, such as caching and open files, and that determines how much memory in total it can use. There are more details from the MySQL team on how that is calculated here:
    1

Please sign in to leave a comment.