Re: [squid-users] Large Log Files and Performance

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 09 Jul 2012 15:19:06 +1200

On 09.07.2012 14:02, Jason Leschnik wrote:
> Hello all,
> Quick question about log files such as cache. and access.log... Is
> there a large performance impact having these logs go up to
> 700-800MB?
>

That depends entirely on your operating system and disk space.

Squid is write appending to them constantly. If your OS does append in
an efficient way there is theoretically no reason why file size should
matter until disk runs out. If it is doing something stupid like seeking
to the end all the time it could cripple Squid, since caching at high
speed does the same write appending on almost a per-packet basis.

NP: cache.log is where important administrative messages are logged. If
it gets very large, outside of special debugging administration, there
are serious problems needing to be fixed in your installation.

Amos
Received on Mon Jul 09 2012 - 03:19:10 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2012 - 12:00:01 MDT