devilyellow
Tue 19th Dec '06, 11:47pm
Ok, so I was thinking about the server optimization. And I was thinking of question 13 about the files that are large than 2GB.
Now I never thought much of it until now and now I feel pretty stupid. I looked into it and my Access_log from sunday to today (just tuesday) is 2GB. (rotated logs 5GB+) I was wondering why it took webalizer an hour to process the log! I was looking at the daily log reports and just really confused how I could be using up most of my 70GB drive with an HTML folder that is not more than 2GB.
So I changed it to rotate the logs daily at 4 am (2 hours after webalizer runs) ....
Is it logging things it shouldnt? This the only thing I found in the config that looks like it would command the logging syntax.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
If it helps, December 1st to the 18th (2.5 weeks) I hosted:
60,657,612 hits
26,008,487 files
9,035,816 pages
635,364 visits
458GB
73,375 different sites/IP's
Now I never thought much of it until now and now I feel pretty stupid. I looked into it and my Access_log from sunday to today (just tuesday) is 2GB. (rotated logs 5GB+) I was wondering why it took webalizer an hour to process the log! I was looking at the daily log reports and just really confused how I could be using up most of my 70GB drive with an HTML folder that is not more than 2GB.
So I changed it to rotate the logs daily at 4 am (2 hours after webalizer runs) ....
Is it logging things it shouldnt? This the only thing I found in the config that looks like it would command the logging syntax.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
If it helps, December 1st to the 18th (2.5 weeks) I hosted:
60,657,612 hits
26,008,487 files
9,035,816 pages
635,364 visits
458GB
73,375 different sites/IP's