Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,633
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    You posted the MySQL process, but not the actual server load. How high was the server load?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice