Dumped in Coldfusion

Monday, October 02, 2006

Static awstats and persistent perl

Sorry, not a Coldfusion post this time. I've been safely away from it recently.

There have been several security problems with awstats that have lead to us not wanting to run it dynamically. There is also the load that it can create affecting the user-experience of people browsing the stats. Therefore we run awstats to generate the content statically.

As we have to run awstats 20 times for each directory on our sites, this takes a lot of time just starting up perl and parsing all the libraries. I have now installed persistent perl on the log generating machine and changed awstats.pl to use pperl rather than perl and it is about 6 times faster and doesn't appear to have broken it. Excelent.

0 Comments:

Post a Comment

<< Home