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.

Server Load is red

Discussion in 'General Discussion' started by Easy-Host.nl, Sep 27, 2004.

  1. Easy-Host.nl

    Easy-Host.nl Member

    Joined:
    Sep 14, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Dear ..

    Server Load 2.05 (1 cpu) RED

    How can i make it?

    Everytime is it RED

    Thnxs
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    In shell, use the command
    top
    and see what it says.
     
  3. Easy-Host.nl

    Easy-Host.nl Member

    Joined:
    Sep 14, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    16437 nobody 25 0 6764 2428 4992 R 49.8 1.0 443:04.64 perl
    14938 nobody 25 0 8124 3692 5012 R 48.8 1.5 550:55.80 perl
    27153 nobody 15 0 14136 8104 8796 S 0.7 3.3 0:01.30 httpd
    28617 root 16 0 2584 928 1620 R 0.3 0.4 0:05.90 top
    1 root 16 0 2008 432 1316 S 0.0 0.2 0:03.97 init
    2 root 34 19 0 0 0 S 0.0 0.0 0:00.09 ksoftirqd/0
    3 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 events/0
    4 root 6 -10 0 0 0 S 0.0 0.0 0:00.01 khelper
    5 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
    14 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kblockd/0
    15 root 25 0 0 0 0 S 0.0 0.0 0:00.00 khubd
    27 root 15 0 0 0 0 S 0.0 0.0 0:01.23 pdflush
    28 root 15 0 0 0 0 S 0.0 0.0 0:13.50 kswapd0
    29 root 7 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
    136 root 16 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
    170 root 15 0 0 0 0 S 0.0 0.0 0:00.94 kjournald
    552 root 15 0 0 0 0 S 0.0 0.0 0:03.24 kjournald
    553 root 15 0 0 0 0 S 0.0 0.0 0:00.10 kjournald
    554 root 15 0 0 0 0 S 0.0 0.0 0:03.92 kjournald
    555 root 15 0 0 0 0 S 0.0 0.0 0:02.84 kjournald
    997 root 16 0 1736 588 1296 S 0.0 0.2 0:03.25 syslogd
    1001 root 15 0 2020 420 1244 S 0.0 0.2 0:00.01 klogd
    1034 root 16 0 3392 512 1296 S 0.0 0.2 0:00.00 rpc.idmapd
    1102 nobody 16 0 4260 1592 3724 S 0.0 0.6 0:00.29 proftpd
    1112 root 16 0 2712 660 1368 S 0.0 0.3 0:00.02 smartd
    1121 root 19 0 2960 388 1236 S 0.0 0.2 0:00.00 acpid
    1153 root 16 0 4160 1296 3436 S 0.0 0.5 0:00.36 sshd
    1166 root 16 0 2924 760 1684 S 0.0 0.3 0:00.24 xinetd
    1185 root 16 0 7320 2596 5036 S 0.0 1.0 0:06.70 chkservd
    1235 mailnull 15 0 7252 1676 6272 S 0.0 0.7 0:00.32 exim
    1239 mailnull 15 0 7904 1588 6272 S 0.0 0.6 0:00.02 exim
    1245 root 16 0 5100 1560 2788 S 0.0 0.6 0:09.05 antirelayd
    1262 root 16 0 11176 4344 8776 S 0.0 1.7 0:00.78 httpd
    1301 named 21 0 37548 3076 4772 S 0.0 1.2 0:00.00 named
    1319 root 15 0 8008 2820 6844 S 0.0 1.1 0:04.19 cppop
    1321 root 21 0 26228 8352 4248 S 0.0 3.4 0:00.92 spamd
    1342 root 16 0 3372 644 1356 S 0.0 0.3 0:00.10 crond


    How can i make it?
     
  4. Norman

    Norman Well-Known Member

    Joined:
    Sep 20, 2004
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    I'm not sure what you mean by "How can I make it".. but you need to determine why tehse two perl sessions are taking up over 90% of your CPU.

    Perl shouldn't be running that heavy.. and it's running by user "nobody" which makes me think it's a CGI Script.. course I could be wrong..
     
  5. Easy-Host.nl

    Easy-Host.nl Member

    Joined:
    Sep 14, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    but you need to determine why tehse two perl sessions are taking up over 90% of your CPU.

    ok, how do i that
     
  6. Norman

    Norman Well-Known Member

    Joined:
    Sep 20, 2004
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6

    well first.. try to determine how long they have been running.

    You can do this and see what exactly they are running, if you type: ps -ef | grep perl

    (make sure your screen is kinda wide to get the whole line)

    You should be able to see what's running there.. here's the output on mine (these are normal btw)

    Code:
    dave@master [~]# ps -ef  |grep perl
    mailnull  1604     1  0 Sep25 ?        00:00:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
    root     10939  8410  0 10:28 ?        00:00:00 /usr/bin/perl /usr/local/cpanel/bin/leechprotect
    
    As you can see, perl is runing leechprotect and eximstats

    You should be able to determine what's running by doing that.. if it's a user doing it.. contact them and tell 'em to knock it off.. :) if it's a system process.. determining why it's doing that is the next step.
     
Loading...

Share This Page