Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    May 2005
    Posts
    33

    Default High MySQL load on CPU Usage, help!

    Pid Owner Priority Cpu % Mem % Command
    26981 mysql 0 170 7.2 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/rack2.ipmart.com.pid --skip-external-locking
    2866 nobody 0 7 0.6 /usr/local/apache/bin/httpd -DSSL
    28430 nobody 0 1 0.9 /usr/local/apache/bin/httpd -DSSL
    28431 nobody 0 1 0.8 /usr/local/apache/bin/httpd -DSSL
    24549 nobody 0 1 0.7 /usr/local/apache/bin/httpd -DSSL
    28412 nobody 0 0 0.8 /usr/local/apache/bin/httpd -DSSL
    28413 nobody 0 0 0.8 /usr/local/apache/bin/httpd -DSSL

    Above are the CPU usage get in WHM. I wonder why it could take up 170% of the cpu load. Im using xeon cpu with 2gb of RAM, currently only running one website which is a online shopping. ps aux|grep -i httpd|wc -l return around 40 - 50, so i assume not much visitor in there.

    Anyone have any idea on this?

  2. #2
    Member carock's Avatar
    Join Date
    Sep 2002
    Location
    St. Charles, MO
    Posts
    215

    Default

    Try going to your WHM and then to phpMyAdmin. Click the Processes link to view the MySQL processes running.

    You may see a pattern in there.

    Chuck

  3. #3
    Member Kailash1's Avatar
    Join Date
    Nov 2006
    Location
    webhostingdiscussion.net
    Posts
    225
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    you may also get the current MySQL processes from "Show MySQL Processes" from WHM.

    Kailash

  4. #4
    Member Murtaza_t's Avatar
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    471

    Default

    Make sure that you have mysql persistent connection OFF in your php.ini.. and keep a watch with:

    watch mysqladmin processlist

    it might be one the user making all the mess..

    and if the above does not help just paste you my.cnf here..

  5. #5
    Member
    Join Date
    May 2005
    Posts
    33

    Default

    The problem is solve, the hosting company make mistake when building the server for me. The CPU is the mistake.

Similar Threads & Tags
Similar threads

  1. Database usage creating high CPU load and crashing
    By supportech in forum New User Questions
    Replies: 8
    Last Post: 03-16-2011, 09:13 AM
  2. Need Help , High load avg and high cpu usage
    By minitech in forum Optimization
    Replies: 2
    Last Post: 03-15-2011, 01:39 PM
  3. Replies: 1
    Last Post: 02-11-2010, 01:58 AM
  4. high load average, no cpu or ram usage
    By bangsters in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-21-2009, 07:45 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube