Re: [squid-users] problem with BIIIG log files

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 28 Oct 2004 00:50:44 +0200 (CEST)

On Wed, 27 Oct 2004, [iso-8859-1] Leonardo Rodrigues Magalhães wrote:

> Well ...... that's also OK. But the problem is that some of these uses to
> make http requests in a VERY fast rate, like 20 per second. In some days, my
> access.log file uses to reach it's limit (2Gb) before the end of the week,
> where log rotation happens. When that happens, squid crashes and dies with:

Set up log rotation to rotate the log more frequently if needed. logrotate
is a good tool for doing this.

> Question ....... is this 2Gb log file limit imposed by squid or by some OS
> limitation???

OS limitations on applications compiled using the standard 32-bit file I/O
interface.

On 32-bit OS:es applications need to be specifically designed to work on
larger files. Most of the standard shell file management tools such as dd
etc have been redesigned to support this.

> Question is: Can squid be recompiled with some LARGEFILE option, allowing
> log files to grow larger than 2Gb ???

Both yes and no. It can be compiled with the largefile option, but doing
so changes many things and Squid has not been verified in such
configuration (and is even known to cause problems for some people).

Regards
Henrik
Received on Wed Oct 27 2004 - 16:50:47 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST