Skip to main content

Mysql takes up heavy load on CPU and eats most of the ram

Comments

6 comments

  • cPanelMichael
    Hello :) Could you post the full output of the MySQL tuner results so we can get a better idea of your existing performance statistics? Thank you.
    0
  • webhosting-k999
    Hi, After that from forum I got to know mysqltuner does not support mysql 5.5 any more... I'm using tuning-primer.sh which says the following- bash tuning-primer.sh -- MYSQL PERFORMANCE TUNING PRIMER -- - By: Matthew Montgomery - MySQL Version 5.5.36-cll x86_64 Uptime = 0 days 21 hrs 33 min 51 sec Avg. qps = 84 Total Questions = 6550459 Threads Connected = 35 Warning: Server has not been running for at least 48hrs. It may not be safe to use these recommendations To find out more information on how each of these runtime variables effects performance visit: [url=http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html]MySQL :: MySQL 5.5 Reference Manual :: 5.1.4 Server System Variables Visit
    One time I increased the value of table cache and set slow query log. After that I optimize tables...that's it. Please update asap, since server becomes unstable. I'm using centos 6.4, Xeon 8 cores with 16 GB ram. Even, I tried default mysql values but it did not work... Waiting for your revert,
    0
  • cPanelMichael
    [quote="webhosting-k999, post: 1614842">Please update asap, since server becomes unstable.
    Most advice for MySQL tuning will come from other users. It's not officially supported by cPanel. You mentioned that MySQL is unstable. Is it failing? If so, what do you see in your MySQL error log when MySQL fails? Thank you.
    0
  • webhosting-k999
    Hi, I have seen mysql cpu usage goes 100% sometimes 200% and even 500%. I'm totally helpless to manage it. Although I have been adjusting the settings... But no use. Can you suggest the best?
    0
  • cPanelMichael
    Try running the following command when you notice heavy MySQL usage: mysqladmin processlist
    Look for excessive usage from specific databases. Thank you.
    0
  • thinkbot
    adjust my.cnf innodb_buffer_pool_size = 800M table_open_cache = 7000 key_buffer_size = 3500M thread_cache_size = 20 then restart
    0

Please sign in to leave a comment.