Re: [squid-users] Problem downloading large files

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 20 Apr 2012 23:50:10 +1200

On 19/04/2012 9:22 p.m., Leonardo wrote:
> Hi all,
>
> We noticed that users behind our Squid cannot download files larger
> than 2 Gb: the connection is cut around that limit.
>
> reply_body_max_size is not set in squid.conf so download file size
> should be unlimited.
>
> I've done a tcpdump capture and examined it on Wireshark; I see a FIN
> from the remote server after that 2 Gb have been transferred.

You would seem not to have large file support (LFS, aka 64-bit
filesystem) built into Squid or possibly the box its running on.

> Bypassing the Linux bridge where the Squid runs solves the problem, so
> apparently the problem lies at the Squid or OS level.
>
> Squid is version 3.1.7 with configure options:
> '--enable-linux-netfilter' '--enable-wccp' '--prefix=/usr'
> '--localstatedir=/var' '--libexecdir=/lib/squid' '--srcdir=.'
> '--datadir=/share/squid' '--sysconfdir=/etc/squid'
> 'CPPFLAGS=-I../libltdl' --with-squid=/root/squid-3.1.7
> --enable-ltdl-convenience

Was this built on a 32-bit or 64-bit system? 32-bit builds require
"--with-large-files"

Also, can you update your Squid to the currently supported release?

Amos
Received on Fri Apr 20 2012 - 11:50:19 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 20 2012 - 12:00:04 MDT