Re: [squid-users] compile squid with large files option

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 16 Apr 2011 12:35:18 +1200

On 16/04/11 02:46, Eliezer Croitoru wrote:
> On 15/04/2011 16:02, Leonardo Rodrigues wrote:
>
>>
>> i'm pretty sure that the --with-large-files is needed on 32 bit
>> installations (x86). Large file support is the default on x86_64
>> machines.
>>
>> please someone correct me if i'm wrong ...
>>
>> Em 15/04/11 09:23, Helmut Hullen escreveu:
>>> Hallo, Tóth,
>>>
>>> Du meintest am 15.04.11:
>>>
>>>> What is the option when I compile squid to cache files over 2GB ?
>>> --with-large-files
>>>
>>>> How can I see what are the default compile options for an apt-get
>>>> based debian installation?
>>>
>>> squid -v
>>>
>>
>
> as far as i remember and know caching of big files is only about the
> acls objects size limits and other then that it's the OS and FS (EXT FS
> is not supporting more then 2GB per file)
> i have used reiserFS for this usage.
> it's more about logs and other stuff as long as i remember.
> and you can see a bit about it here:
> http://wiki.genunix.org/wiki/index.php/Configure_options_-_squid

Sigh. Another well-outdated wiki about Squid. Thanks for that link.

To clarify;
   Anything to do with saving files or transferring (since we go via
files) needs to handle large numbers for file offsets etc.
   32-bit *builds* do not provide these and require --with-large-files
(Squid-3) or --enable-large-files (Squid-2) to convert them.
   64-bit *builds* provide these details and require no options. The
above options do nothing on 64-bit.

Debian packages already are built with the large file support by default.

Tóth: if you are having problems with large files in a Debian package
please check the version rather than the features. There are storage
bugs (http://bugs.squid-cache.org/show_bug.cgi?id=3068) which were fixed
in 3.1.10 and so are not fixed in the Squeeze or older Debian repository
packages.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.6
Received on Sat Apr 16 2011 - 00:35:22 MDT

This archive was generated by hypermail 2.2.0 : Sat Apr 16 2011 - 12:00:04 MDT