The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Too high cpu loads from MySQL

Discussion in 'Workarounds and Optimization' started by elias9, Oct 2, 2015.

  1. elias9

    elias9 Member

    Joined:
    Oct 30, 2014
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Very load:

    /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql/ --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql//pluto.xxxxxx.com.err --open-files-limit=14000 --pid-file=/var/lib/mysql/best.xxxxxx.com.pid --socket=/var/lib/mysql/mysql.sock

    how is resolve this?

    my vps have 8 gb in ram and 4 cpu;
    Mysql version is 5.5
     
  2. lx24

    lx24 Member

    Joined:
    Oct 2, 2014
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    You have to find out which account causing the high load..

    Check mysql process using :

    Code:
    mysqladmin pr
    See the processes of user and then check what is going on under such account. You may also need to check access-logs for that account.

    Also optimize your mysql server. You will find many post around the cpanel for the same.
     
  3. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Can you provide you /etc/my.cnf output. It seems that mysql is not properly optimized as there is enough RAM available. You can use mysqltunner script to optimize mysql.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page