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.

Stats/Server Overload

Discussion in 'General Discussion' started by ivaserver, Feb 15, 2003.

  1. ivaserver

    ivaserver Well-Known Member

    Joined:
    Aug 9, 2002
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    I keep getting emails from Cpanel warning Stats/Server Overload

    While processing the log files for user root, the cpu has been
    maxed out for more then a 6 hour period. The current load/uptime line on the server at the time of
    this email is
    9:15pm up 11 days, 5:51, 0 users, load average: 1.38, 0.69, 0.63


    below are the results of TOP in SSH

    any advice please





    3:10pm up 11 days, 23:46, 1 user, load average: 0.17, 0.15, 0.12
    136 processes: 133 sleeping, 3 running, 0 zombie, 0 stopped
    CPU states: 0.0% user, 2.1% system, 0.0% nice, 97.8% idle
    Mem: 369604K av, 330936K used, 38668K free, 0K shrd, 21776K buff
    Swap: 265032K av, 89832K used, 175200K free 187208K cached
    Sort by CPU usage
    PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM CTIME COMMAND
    29059 root 16 0 1084 1084 816 R 1.6 0.2 0:00 top
    1 root 0 0 500 460 432 S 0.0 0.1 855:29 init
    2 root 9 0 0 0 0 SW 0.0 0.0 0:00 keventd
    3 root 19 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
    4 root 9 0 0 0 0 SW 0.0 0.0 5:09 kswapd
    5 root 9 0 0 0 0 SW 0.0 0.0 0:05 bdflush
    6 root 9 0 0 0 0 SW 0.0 0.0 3:02 kupdated
    454 root 9 0 588 540 484 S 0.0 0.1 2:01 syslogd
    459 root 9 0 1160 428 428 S 0.0 0.1 0:00 klogd
    577 root 9 0 600 508 488 S 0.0 0.1 0:02 automount
    592 nobody 8 0 1076 776 696 S 0.0 0.2 5:43 proftpd
    622 root 9 0 840 736 700 S 0.0 0.1 1:55 sshd
    643 root 9 0 876 776 708 S 0.0 0.2 1:42 xinetd
    675 root 8 0 2364 1544 1156 S 0.0 0.4 10:50 chkservd
    700 root 18 19 3260 2600 1524 S N 0.0 0.7 39:30 cpanellogd
    704 root 9 0 2464 1440 1300 S 0.0 0.3 0:55 cpaneld
    718 root 9 0 2272 1416 1376 S 0.0 0.3 0:47 webmaild
    723 root 9 0 2256 872 728 S 0.0 0.2 6:45 cppop
    898 cpanel 9 0 1732 1652 1444 S 0.0 0.4 0:00 stunnel-4.02loc
    910 root 9 0 2032 960 920 S 0.0 0.2 0:01 whostmgrd
    932 root 8 0 700 632 580 S 0.0 0.1 617:02 crond
    951 root 9 0 956 780 780 S 0.0 0.2 0:00 safe_mysqld
    1018 mysql 9 0 12740 3908 2932 S 0.0 1.0 0:14 mysqld
    1060 root 9 0 748 624 624 S 0.0 0.1 0:00 portsentry
    1070 mysql 9 0 12740 3908 2932 S 0.0 1.0 85:08 mysqld
    1071 mysql 9 0 12740 3908 2932 S 0.0 1.0 0:13 mysqld
    1434 root 9 0 10548 1420 1036 S 0.0 0.3 0:01 java
    1436 root 9 0 404 344 344 S 0.0 0.0 0:00 mingetty
    1437 root 9 0 404 344 344 S 0.0 0.0 0:00 mingetty
    1438 root 9 0 404 344 344 S 0.0 0.0 0:00 mingetty
    1439 root 9 0 404 344 344 S 0.0 0.0 0:00 mingetty
    1440 root 9 0 404 344 344 S 0.0 0.0 0:00 mingetty
    1441 root 9 0 404 344 344 S 0.0 0.0 0:00 mingetty
    1454 root 9 0 10548 1420 1036 S 0.0 0.3 0:08 java
    1455 root 9 0 10548 1420 1036 S 0.0 0.3 0:00 java
    1456 root 9 0 10548 1420 1036 S 0.0 0.3 0:00 java
    1457 root 9 0 10548 1420 1036 S 0.0 0.3 0:00 java
    1801 root 9 0 10548 1420 1036 S 0.0 0.3 0:00 java


    Regards
    Ivaserver
     
  2. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Next time do a search. This issue has already been discussed and resolved.

    http://forums.cpanel.net/read.php?TID=6961
     
  3. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    [quote:ed17f181c8][i:ed17f181c8]Originally posted by jsteel[/i:ed17f181c8]

    Next time do a search. This issue has already been discussed and resolved.

    http://forums.cpanel.net/read.php?TID=6961[/quote:ed17f181c8]
    I knew the root cause was known. I didn't know the file was available for download. I still get these. Where can cpuwatch be downloaded from?
     
  4. bdraco

    bdraco Guest

    http://layer1.cpanel.net/cpuwatch
     
  5. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    [quote:da53ea4b68][i:da53ea4b68]Originally posted by bdraco[/i:da53ea4b68]

    http://layer1.cpanel.net/cpuwatch[/quote:da53ea4b68]
    Thanks, Nick. I think I need new glasses. :)
     
  6. torwill

    torwill Well-Known Member

    Joined:
    Jun 25, 2002
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
  7. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    Put a copy in each of these directories:

    /usr/local/cpanel/src/wrap/

    /usr/local/cpanel/bin/
     
  8. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    Do you have to restart anything or just copying the files will do?
     
  9. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    [quote:b394c185c5][i:b394c185c5]Originally posted by FWC[/i:b394c185c5]

    Put a copy in each of these directories:

    /usr/local/cpanel/src/wrap/

    /usr/local/cpanel/bin/[/quote:b394c185c5]

    Even though I have the CPU watch there and didn't recieve those messages for over a week.. now am getting them again
     
  10. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Are you still using 5.3b117? We are and haven't had a problem since implementing the fix (with this issue - we ceratinly have other problems though that still haven't been fixed).
     
  11. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    It's the R117 Build.. For over a week, not a single email about it then suddenly, We get them again..I double/tripled checked and cpuwatch is there.
     
  12. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    oh great.. now after upgrading to V6 73 Stable, I get double emails..
    CPUwatch is installed
    /var/cpanel/cpanel.config is configured to extracpu= 3
    /usr/local/cpanel/startup is executed
    still get emails even though the load barely hits 1
    :confused:
     
  13. wa4fat

    wa4fat Well-Known Member

    Joined:
    Dec 30, 2001
    Messages:
    51
    Likes Received:
    1
    Trophy Points:
    8
    Just another voice to add to the growing chorus ...

    This CPUWATCH bogus warning issue is way past getting old ... it's a major pain in the you-know-what.

    None of the suggestions posted here have any effect of this problem.

    WHM 6.0.0
    Cpanel 6.0.0-S97
    RedHat 7.3

    ... and multiple false warnings throughout the day.

    I'm really pleased that cPanel is under active development and improvement ... just wish upgrades didn't break as many features as they fix, sigh.
     
  14. NZ1M

    NZ1M Member

    Joined:
    May 4, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cpuwatchcheck cpu/Server overload

    My TOP is running cool, under 0.50 ... yet I receive cpu/Server overload emergency emails about 6 times a day. Please advise how to correct this cpanel problem. We rely on emergency wireless pagers to maintain support and this is getting expensive.

    I set /var/cpanel/cpanel.config extracpus to 2. ALL my cpu/Server overload emergency emails say 1.02 to 1.2 and we can't find a history of it ever running that high except during nightly backups.

    Paul
    WHM 6.0.0
    Cpanel 6.0.0-S97
    RedHat 7.2
    Kernel 2.4.20
     
  15. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    increase /var/cpanel/cpanel.config extracpus to 6
    that was cpanel fix for us even though load was under 0.5
     
  16. NZ1M

    NZ1M Member

    Joined:
    May 4, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    ExtraCPUs

    Thanks Joana... I set my cpanel.conf extracpus to 2 and still get the warnings. If I set it to 6, just to eliminate the warnings, then I *won't* get warned in a real situation... Is this the best cpanel.net can do? What is the magic with 6? Why recommend we "turn off" valid alarm notices with an overly high extracpus value?

    Thanks // Paul

    Here's my warning with my extracpus set to 2:

    IMPORTANT: Do not ignore this email. This is cPanel cpuwatch on ***.vosn.net!
    While processing, the cpu has been maxed out for more then a 6 hour period. The current load/uptime line on the server at the time of this email is
    11:40am up 5 days, 5:39, 1 user, load average: 1.11, 0.37, 0.23
    You should check the server to see why the load is so high and take
    steps to lower the load. If you want stats to continue to run even
    with a high load; Edit /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run /usr/local/cpanel/startup afterwards to pickup the changes).
     
  17. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    16
    Nice fix, but I guess I won't be warned anymore when real high load is happening due to some looping script or whatever...
     
  18. NNNils

    NNNils Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    580
    Likes Received:
    0
    Trophy Points:
    16
    I have done something I read elsewhere:

    1. set extracpus to 1 higher than it was
    2. run /usr/local/cpanel/startup
    3. do graceful reboot

    I now still get the message but it seems fewer times a day and I get the message 1 time instead of 3 times everytime.

    Any help?
     
  19. Cranky

    Cranky Member

    Joined:
    Apr 19, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Durham, UK
    Anyone still getting these?

    cPanel.net Support Ticket Number:
     
  20. Finkinstein

    Finkinstein Well-Known Member

    Joined:
    Mar 21, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Me..

    I have CPU watch.
    I dont really want to increase the warning level.
    Any other ideaS?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page