Skip to main content

mysql CPU usage too high

Comments

6 comments

  • thinkbot
    adjust: tmp_table_size = 50M max_heap_table_size = 50M join_buffer_size=1M read_buffer_size=128K sort_buffer_size=2M read_rnd_buffer_size=256K table_open_cache=1024 query_cache_size=100M myisam_sort_buffer_size=512M slow_query_log=1 slow_query_log_file=mysql-slow.log long_query_time=0.1 - what script do you use ? custom or CMS ? with some third party plugins ? - it would be good to review your slow queries, since [!!] Temporary tables created on disk: 29% (29K on disk / 100K total)
    0
  • harivaag
    HI, Thanks, have applied the same and will check for the day today... [COLOR="silver">- - - Updated - - - hi sorry forgot to answer your questions, we use X-cart for the website and use custom build php based CMS
    0
  • harivaag
    Hi, After making the changes and checking for a day, just now the LA just went up to 80% and then i had to restart.... Kindly help me to resolve the same
    0
  • thinkbot
    what do you mean by LA and where do you check it ? please review slow queries, like that : cd /root/install wget
    0
  • harivaag
    Thanks, LA means Load Average on the PUTTY I will put the slow.txt soon
    0
  • cPanelMichael
    Hello :) Please note that additional information on troubleshooting the server load (aside from MySQL usage) is available at: Troubleshooting High Load On Linux Systems Thank you.
    0

Please sign in to leave a comment.