Re: Squid logfile >2GB problem

From: Luigi Gangitano <luigi@dont-contact.us>
Date: Tue, 08 Mar 2005 05:07:28 +0100

Il giorno gio, 05-02-2004 alle 21:47 +0100, Henrik Nordstrom ha scritto:
> On Thu, 5 Feb 2004, Duane Wessels wrote:
>
> > It looks to me like the --enable-large-files trick simply adds
> > -D_FILE_OFFSET_BITS=64 to the compiler flags, so it seems relatively
> > harmless.
>
> In addition to enabling support for large files this increases the size of
> all the file size related data types from 32 bits to 64 bits, and also
> increases the maximum allowed object size.
>
> The code has not at all been audited if this is safe and is why the flag
> does not exists in 2.5. It is known there is quite many casts to int, and
> I see it quite likely there is at least some wrong usage.
>
> In addition this modifies the on-disk storage for the same reason and the
> cache is not compatible between 32 and 64 bit file offset Squid binaries.

I just wished to report that debian has been shipping squid with
-D_FILE_OFFSET_BITS=64 compiler flag for over an year and no user
complained reported errors related to it.

Maybe this could be integrated.

Regards,

-- 
 Luigi Gangitano -- <luigi@debian.org> -- <gangitano@lugroma3.org>
 GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972  C24A F19B A618 924C 0C26

Received on Mon Mar 07 2005 - 21:10:13 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:04 MST