ivaserver

Well-Known Member
Aug 9, 2002
111
0
166
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
 

jsteel

Well-Known Member
Jul 4, 2002
646
0
166
Atlanta, GA
Next time do a search. This issue has already been discussed and resolved.

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

FWC

Well-Known Member
May 13, 2002
354
0
316
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?
 

FWC

Well-Known Member
May 13, 2002
354
0
316
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. :)
 

joana

Well-Known Member
Sep 29, 2001
103
0
316
[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
 

jsteel

Well-Known Member
Jul 4, 2002
646
0
166
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).
 

joana

Well-Known Member
Sep 29, 2001
103
0
316
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.
 

joana

Well-Known Member
Sep 29, 2001
103
0
316
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:
 

wa4fat

Well-Known Member
Dec 30, 2001
51
1
308
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.
 

NZ1M

Member
May 4, 2002
11
0
301
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
 

joana

Well-Known Member
Sep 29, 2001
103
0
316
increase /var/cpanel/cpanel.config extracpus to 6
that was cpanel fix for us even though load was under 0.5
 

NZ1M

Member
May 4, 2002
11
0
301
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).
 

NNNils

Well-Known Member
Sep 17, 2002
580
0
166
Nice fix, but I guess I won't be warned anymore when real high load is happening due to some looping script or whatever...
 

NNNils

Well-Known Member
Sep 17, 2002
580
0
166
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?
 

Finkinstein

Well-Known Member
Mar 21, 2003
131
0
166
Me..

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

cPanel.net Support Ticket Number: