Flush history file on disk (unique hosts reach flush limit of 20000) - Awstats

By: Emiley J Viewed: 153348 times  Printer Friendly Format    


When you run awstats.pl on your server on a log file that is quite big, you will see this Flush history file on disk (unique hosts reach flush limit of 20000) message on the window. Be assured that this is not an error. This is just a message for you to inform that more than 20000 hosts were found on the log file and flushed and the program is still running to process the rest of the log file.

You will also see this multiple times, if your log file is too big. Something like below.

Phase 1 : First bypass old records, searching new record...
Direct access to last remembered record has fallen on another record.
So searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Flush history file on disk (unique hosts reach flush limit of 20000)
Flush history file on disk (unique hosts reach flush limit of 20000)
Flush history file on disk (unique hosts reach flush limit of 20000)

Just wait there and let the program finish. Depending on the size of your log file it may take several minutes. Once done, you can deleted your access_log file and restart apache/httpd.



Most Viewed Articles (in Perl )

Latest Articles (in Perl)

Comment on this tutorial