I have awstats set to update at 3am server time (as it is in the wiki setup guide), and discovered that the stats had not changed from yesterdays. I ran the code manually (copied it from the cron job) and halfway through it terminated with a simple “Killed” text. Re-running the code resulted in it working, with it quickly going through the first few steps much quicker then it had the first time I ran it. Yesterday I experienced a massive amount of traffic, and am assuming that it was causing the stats to be calculated longer than usual and for some reason the server terminated the process. If this is correct, I’m hoping that if I ran the awstats scripts more often, say every couple of hours, it will have less to work though each time so hopefully won’t be terminated.
Unfortunately, I’m not sure how to do this. The wiki seems to allude that the logfile locations would need to be changed, but I’m not exactly sure how and after reading a bit of the awstats docs I’m still confused.