Open soundasleep opened 6 years ago
if awstats runs normaly tmp files are deleted at end of run. you must have had failures on date of tmp files
tmp files are created in same stats folder as specified in conf file as far as I know
same data directory
(cant edit my previous post)
We were alerted to our server running out of disk space. Turns out that the /var/lib/awstats folder (our data directory) was getting filled with tens of gigabytes of
X.tmp.N
files.First question: We deleted all of the tmp files. Is this OK? We've had to update our script to automatically delete the .tmp files after completing, too:
(We had to use find instead of rm because there were too many for bash to handle.)
Second question: Why are these gigs of (ostensibly temporary) files being written into /var/lib/awstats? I couldn't find any configuration option to specify where to write temp files. May be related to #28.