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.

CPU Usage Seems High

Discussion in 'General Discussion' started by osumiam, Oct 23, 2013.

  1. osumiam

    osumiam Registered

    Joined:
    Oct 23, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi Guys,

    I recently upgraded to a dedicated server with WHM. But i have recently noticed spike in the CPU usage. I am not sure why is that. Here is the detail of the processes that are running that seem to be using the most CPU.


    % CPU ▾ Process
    mysql 267 /usr/sbin/mysqld --basedir/usr --datadir/var/lib/mysql --plugin-dir/usr/lib64/mysql/plugin --usermysql --log-error/var/lib/mysql/server1.xxxxxxxxx.com.err --pid-file/var/lib/mysql/server1.xxxxxxxxx.com.pid
    mysql 266 /usr/sbin/mysqld --basedir/usr --datadir/var/lib/mysql --plugin-dir/usr/lib64/mysql/plugin --usermysql --log-error/var/lib/mysql/sserver1.xxxxxxxxx.com.err --pid-file/var/lib/mysql/server1.xxxxxxxxxx.com.pid
    mysql 264 /usr/sbin/mysqld --basedir/usr --datadir/var/lib/mysql --plugin-dir/usr/lib64/mysql/plugin --usermysql --log-error/var/lib/mysql/server1.xxxxxxxxx.com.err --pid-file/var/lib/mysql/server1.xxxxxxxxxx.com.pid


    Server Status is as follow:

    System information

    Server load 11.57 (8 CPUs)
    Memory Used 12.64% (2,060,760 of 16,303,776)
    Swap Used 3.36% (276,424 of 8,224,760)



    Can you guys figure out whats going on here?


    Regards
     
  2. osumiam

    osumiam Registered

    Joined:
    Oct 23, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thanks for the link. I'll check that out but by looking at the processes, any suggestions or comments as to whats seems to be the issue.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You posted MySQL processes. You can get more information on MySQL usage with a command such as:

    Code:
    mysqladmin processlist
    There is a section on this in the thread referenced in my last response.

    Thank you.
     
  4. Kailash1

    Kailash1 Well-Known Member

    Joined:
    Nov 27, 2006
    Messages:
    252
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    If mysql is using high CPU, you need to optimize your MySQL settings or there is probability that one of the databases is causing the high usage. Kindly check your running mysql processes.
     
Loading...

Share This Page