the cpu has been maxed out for more than a 6 hour period???

SubZero

Well-Known Member
Apr 21, 2005
100
0
166
Balmumcu, Istanbul, TR
I received the following email from my server:
IMPORTANT: Do not ignore this email.

This is cPanel stats runner on host.xxx.com!

While processing the log files for user user_name, the cpu has been maxed out for more than a 6 hour period. The current load/uptime line on the server at the time of this email is

10:49:32 up 1 day, 16:02, 1 user, load average: 15.00, 7.38, 4.88

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).
The strange thing here as you can see, the stats were only running for less than 15~20 minutes only (15 min loadavg ~4 is my average) but my received email says it is running for more than 6 hours?

What is wrong with this?
 

nickb

Well-Known Member
Feb 25, 2005
346
0
166
India
check the files below and you will get answer that why it is showing 6 hr max......

/usr/local/cpanel/bin/dispatchcpustats
/usr/local/cpanel/bin/dispatchstats
 

SubZero

Well-Known Member
Apr 21, 2005
100
0
166
Balmumcu, Istanbul, TR
Lol

LOL :( I really thought this one :)

It looks like this is run via the CRON aint it?
 

nickb

Well-Known Member
Feb 25, 2005
346
0
166
India
nope!!!It runs via /usr/local/cpanel/bin/cpuwatch