Skip to main content

Massive CPU load with mysql log?

Comments

3 comments

  • Foxhound
    Hmmm, ok. If nobody can help me, is there someone who could help me tweak mysql? I read you should not use the mysqltunner anymore so I guess now its down to experience? My server is still having a way to high load eventhough I completely removed it from public access (port 80). I am not sure which kind of data is required for anyone to be able to help. So in case you feel like helping out feel free to let me know which data could be usefull for me to post here. This is the output of top atm: top - 00:38:14 up 1 day, 7:35, 2 users, load average: 9.64, 7.11, 7.19 Mem: 8165416k total, 8119980k used, 45436k free, 116056k buffers Swap: 10217332k total, 146616k used, 10070716k free, 7186716k cached
    The server has the following specs: - Intel Core i7-920 - 8GB Memory - 2x 750GB 7200rpm Hard Disk - CentOS 5.x x64 Nobody is on my website (when I copied the above top info) except me (normally we have 700 - 1500 visitors every 15 minutes). I really hope someone can give me some pointers cause right now I am pretty much stuck.
    0
  • cPanelMichael
    Hello :) Try running the following command when MySQL is using excessive CPU: mysqladmin processlist
    This should alert you to which database is contributing the most to the usage. Also, this thread might be of help to you: Troubleshooting High Load On Linux Servers Thank you.
    0
  • Foxhound
    Thanks, that is some usefull info! Much to learn but I will get there at some point :)
    0

Please sign in to leave a comment.