I've just installed awstats on my ubuntu 12.04 LTS VPS.
So I configured everything and ran:
Code:
/usr/lib/cgi-bin/awstats.pl -config=[my domain name here] -update
This resulted in this output:
Quote:
Create/Update database for config "/etc/awstats/awstats.[my domain name here].conf" by AWStats version 7.0 (build 1.971)
From data in log file "[...redacted...]/log/access.log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Reverse DNS lookup for ::1 not available without ipv6 plugin enabled.
Flush history file on disk (unique url reach flush limit of 5000)
Flush history file on disk (unique url reach flush limit of 5000)
Flush history file on disk (unique url reach flush limit of 5000)
Flush history file on disk (unique url reach flush limit of 5000)
Flush history file on disk (unique url reach flush limit of 5000)
Flush history file on disk (unique url reach flush limit of 5000)
Flush history file on disk (unique url reach flush limit of 5000)
Flush history file on disk (unique url reach flush limit of 5000)
Flush history file on disk (unique url reach flush limit of 5000)
Flush history file on disk (unique url reach flush limit of 5000)
Flush history file on disk (unique url reach flush limit of 5000)
|
(That last line repeated many more times ...)
I noticed the process spawned many child processes and the server load went trough the roof after a while. Eventually the mysql server died. At that point I decided I had been more than reasonable, so I did killall on the awstats.pl processes.
I had been following the instructions here:
https://help.ubuntu.com/community/AWStats
What could have gone wrong? Is there a way to make it work without consuming all my memory? (A whooping 1GB.)