httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Barber <glen.j.bar...@gmail.com>
Subject Re: [users@httpd] Big log file- any impact on performance ?
Date Sun, 15 Mar 2009 08:39:48 GMT
On Sun, Mar 15, 2009 at 2:59 AM, Chinmay Tripathi
<chinmay.tripathi@gmail.com> wrote:
> Hi,
>
> I was wondering if the log file size has any impact on the apache
> performance. On my Linux web server, one log file size is 20GB. I know I can
> rotate this log. But my question to you is whether the size of the log file
> has any impact on apache performance whatsoever.
>
> Any comments or suggestions?

The size of the log file does not matter, per se, because apache will
append the latest event information to the end of the file.

20GB is a huge log file, IMHO.  Make sure your /var directory has
enough room to hold such a file, and if it does not, that /var does
not leech space from other mountpoints -- this can cause other
problems on the system, such as random applications crashing for what
appears to be no reason.

Logfile size does impact the system as a whole, sometimes not in the
area(s) you are expecting them to impact.

-- 
Glen Barber

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message