UBB.Dev
Posted By: ericgtr Stats/Server Overload - 08/28/2004 5:43 PM
I got this from my server this morning.. ouch, I have never had this before and it sounds pretty serious. Not sure which log files it's processing either.

[] IMPORTANT: Do not ignore this email.
This is cPanel stats runner on eric.vhfans.com!
While processing the log files for user vhfansco, 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
03:13:23 up 12 days, 6:32, 0 users, load average: 2.11, 1.58, 1.37
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).
[/]
Posted By: msula Re: Stats/Server Overload - 08/29/2004 4:47 PM
Well, luckily a server load of right around 2 (provided it is a fairly high-end server) is not all that serious, but it looks like there is still a problem.

First of all, cPanel defaults to any server load over 1.00 as high and you will get an alert. 1 is not critical, and infact, probably isn't even enough of a load to really show any signs of performance degredation.

What is probably happening is your log files are just getting huge and bogging your server down when stats are processing.

If you have a dual processor server, you may want to consider this:

edit /var/cpanel/cpanel.config
search for extracpus= and change the value from 0 to 2 or even 3.
save, close and execute /usr/local/cpanel/startup

This will raise your server load threshold so that your stats won't stop running with a measely 1.00 server load.

Second, while that will help eliminate the emails and the stats from not processing, I would recommend also disabling AWstats if you do not use them. I don't find awstats very useful at all compared to webalizer or urchin, so there is no need to process awstats if you don't use them right?

You can disable awstats globablly in WHM and I think even indivudally per account as well.
Posted By: ericgtr Re: Stats/Server Overload - 08/29/2004 8:29 PM
Thanks for the info, Jeremy. I never use AWstats so I will go ahead and disable it and see if that helps some.
Posted By: santana Re: Stats/Server Overload - 04/20/2005 6:50 AM
Hello all

Here is mine:
[]
11:23:46 up 6 days, 16:09, 1 user, load average: 53.20, 35.98, 27.99
213 processes: 164 sleeping, 49 running, 0 zombie, 0 stopped
CPU0 states: 86.1% user 13.1% system 0.0% nice 0.0% iowait 0.0% idle
CPU1 states: 95.1% user 4.1% system 0.0% nice 0.0% iowait 0.0% idle
Mem: 1030284k av, 857976k used, 172308k free, 0k shrd, 34468k buff
734628k actv, 24372k in_d, 11372k in_c
Swap: 1020116k av, 101156k used, 918960k free 362692k cached

[/]

I am using single Xeon 2.4Ghz HT with 512MB x 2 ECC REG.

Should I add more proc or memory?

Thanks
Posted By: scroungr Re: Stats/Server Overload - 04/20/2005 1:55 PM
only 512Mb? More Memory. At least 1GB
© UBB.Developers