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.

Massive Server Load???

Discussion in 'General Discussion' started by SetLar8, Nov 17, 2005.

  1. SetLar8

    SetLar8 Well-Known Member

    Joined:
    Mar 5, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Hi does anyone know what the following 2 processors do and why they use so much cpu power:

    /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/server1.domain.com.pid --skip-locking

    (i have aroung 10 of these running at the same time)

    and also:

    /usr/local/apache/bin/httpd -DSSL

    (i have around 20-40 of these running at any one time)

    I have just seen my system rise to 6.70 Server Load whilst executing the first process above, that cannot be right?

    Thanks in Advance.
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    mysql
    apache

    normal to have that on a busy server
     
  3. SetLar8

    SetLar8 Well-Known Member

    Joined:
    Mar 5, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Hi, my server load reached 48.51% today its goes into the red when it reaches 2.00%. This is just stupid how can i find out what is causing this?

    Thanks.
     
  4. DigitalSurgeon

    DigitalSurgeon Well-Known Member

    Joined:
    Aug 13, 2005
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    The best way is "top" command, I usually use top -c -d 1 or top -d2 c because it shows the real time scenario.You can also check the number of processes running on the server with ps ax or by ps axuf.I recommend you to read man pages for both top and ps.You can also check from WHM >> Server Status >> CPU/Memory/MySQL Usage, it will also show you the processes consuming more CPU time and memory.
     
  5. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    Server Status: - your friend

    Apache Status - shows all active open apache connections and what they're doing and where they're coming from:

    MySQL Processlist - shows what database connections are open and queries being run.
     
Loading...

Share This Page