Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: James Shields on March 27, 2003, 03:24:47 PM
-
Setup = SME 5.6u on Dell PowerEdge 600SC Server, permanent modem.
AWStats installed in ibay (Jesper Knudsen HowTo). The site in question receives a substantial amount of traffic, but most Fridays come up empty....
You can see for yourself at:
http://www.baseballvictoria.com.au/awstats/cgi-bin/awstats.pl
Any suggestions why no data on Fridays ? SME configuration available at:
http://www.baseballvictoria.com.au/sysinfo/phpSysInfo-2.1/
Any suggestions would be appreciated. Finally, with this type of traffic, we have put in an ADSL application. The modem must be ready to burst.
James
-
That looks quite interesting.How often do you update stats in your cron job ? Are you seing a log rotation issue meaning that you only update once a day and that is right after the log has been rotated?
Rgds,
Jesper
-
Yes, we also thought is was interesting, but not explainable.
Followed your HowTo. There was no mention of "Cron Job", so to answer your question, the stats are updated manually I suppose when somebody clicks on the update stats on the webpage.
The only admin messages I have received mentions something about post rotate and something being killed. I do however receive this from 3 of the servers I look after, and ironically they all generate the message on the same day.
James
-
James,
I have created a cron job that updates the stats every 5 mins - I do not have that many hits :-)
Cron entry
0-59/5 * * * * root /root/awstats
awstats file called from the crontab
#!/bin/bash
cd /home/e-smith/files/ibays/awstats/cgi-bin
perl awstats.pl -config=www.swerts-knudsen.dk -update >/tmp/null
I also sometimes get rotate error messages so I am sure that is not the main problem. I would try to do the update via cron to avoid the need of the "button" update.
Rgds,
Jesper