Re: (no subject)

Wim Kerkhoff <[email protected]> Thu, 14 Apr 2005 02:11:27 -0700
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
Michael Zimmermann wrote:

> thomas-5VVOt45T8ASrG/[email protected] wrote:
>
>> http://www.nyetwork.org/wiki/AWStats
>> that is the manual that I was follow, and I am using ispman 1.2
>> the script "awstats4host" not working on my freebsd, no idea why, please
>> take a look, Thanks a lot.
>
> I published some documentation about my installation of awstats and 
> webalizer with ispman. See here:
> http://www.incunabulum.de/projects/computer_stuff/server/stats
>
> This was done on debian; no idea if it will work on BSD.
>
Nice.

I made one change to my awstats script... just before calling awstats.pl:

                while [ `ps ax |grep awstats.pl |grep -v grep |wc -l` 
-gt 5 ] ; do
                    echo "waiting 5 seconds for an awstats.pl to finish"
                    sleep 5
                done

Which essentially allows multiple awstats to run at the same time, 
without totally bringing the server to its knees. The main bottleneck 
with log processing is DNS lookups, not CPU/disk. The -gt 5 probably 
needs to be adjusted depending on number of CPU power and RAM.

Reverse DNS lookups are continuing to be a major nuisance for me. 
Awstats and the logresolvemerge program both have functionality for dns 
lookups, but neither are as robust as they could be.

One important note about awstats is to check the version - it had a 
whole bunch of remote exploits not too long ago.

Wim



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click