Awstat consumes 97% cpu and gets killed


#1

I was following http://wiki.dreamhost.com/index.php/AWStats_Installation step by step to install AWStats.

When I got up to the step:

perl /home/yourusername/awstats/tools/awstats_buildstaticpages.pl -config=domainname.com -update
-awstatsprog=/home/yourusername/awstats/cgi-bin/awstats.pl -dir=/home/yourusername/domainname.com/statistics/

(obviously I customized it), i found that it spiked up to 96% CPU, with logresolvemerge spiking up to 40% and dreamhost automatically killed the process.

That’s some crazy CPU usage!

Did I do something wrong?


#2

It should not take that much CPU resource.

Btw, you need to specify the file path to perl like /usr/local/bin/perl.

$50 off and 3 free domains with code: [color=#CC0000]DH3[/color] Sign Up NOW or More Codes Here


#3

My awstatus package runs a bit differently. I have one with instructions at:
http://www.dogshake.com/files/awstatspackage.zip

-Scott