Search squid archive

Re: Fw: squid download file larger than 2GB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Thank you for your kind help. I have installed squid as per below configuration option on my 32-bit linux RHEL 4 OS

Squid Cache: Version 3.1.11-20110316
configure options:  '--prefix=/usr/local/squidnew2' '--enable-delay-pools' '--enable-arp-acl' '--enable-basic-auth-helpers=NCSA' '--with-filedescriptors=4096' '--with-large-files' '--disable-ipv6' --with-squid=/root/squid-3.1.11-20110316 --enable-ltdl-convenience

Now, i am facing typical issue. I stopped my old running squid ans start newly compile squid. But it automatically restarts after few minutes. If i keep my old squid also running than the new squid works fine. 

I have observed following error message in new squid cache.log file

2011/03/18 13:13:03| comm_old_accept: FD 322: (22) Invalid argument

2011/03/18 13:13:03| FTP data connection from unexpected server ([::]), expecting 140.252.25.92

2011/03/18 13:13:03| assertion failed: comm.cc:1583: "fd >= 0"

What could be the reason?

Regards

Jigar
--- On Wed, 3/16/11, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:

> From: Amos Jeffries <squid3@xxxxxxxxxxxxx>
> Subject: Re:  Fw: squid download file larger than 2GB
> To: squid-users@xxxxxxxxxxxxxxx
> Date: Wednesday, March 16, 2011, 4:39 AM
> On 16/03/11 23:19, Jigar Raval
> wrote:
> >   Hello,
> >
> >   We are facing issue of downloading
> file larger than 2GB
> >   using squid. Following is the status
> of squid. We have
> >   installed it with large-file
> support.
> >
> >
> >   Squid Cache: Version 3.0.STABLE25
> >
> >   configure options: 
> '--prefix=/usr/local/squidnew'
> >   '--enable-delay-pools'
> '--enable-arp-acl'
> >   '--disable-internal-dns'
> 
> That is not a great idea. It forces Squid to use the
> slow/blocking OS 
> resolver (max capacity ~200 req/sec).
> 
> >   '--enable-basic-auth-helpers=NCSA,LDAP,YP'
> >   '--enable-large-files'
> 
> That should be: --with-large-files
> 
> >
> >   Following is the status of linux
> kernel. It is 32-bit
> >
> >   2.6.9-5.ELsmp #1 SMP Wed Jan 5
> 19:30:39 EST 2005 i686 i686
> >   i386 GNU/Linux
> >
> >   We are getting following error in
> store.log file while
> >   downloading iso using http or ftp.
> >
> >   WARNING: preventing off_t overflow
> for http://ftp.jaist.ac.jp/pub/Linux
> >   /openSUSE/distribution/11.4/iso/openSUSE-11.4-DVD-x86_64.iso
> >
> >   WARNING: preventing off_t overflow
> for http://mirrors.isu.net.sa/pub/opensuse/distribution/11.4/iso/openSUSE-11.4-DVD-x86_64.iso
> >
> >   We have also used iptables to
> redirect all port 80 request
> >   to our defined squid port.
> >
> >   What could be the reason ?. Should we
> upgrade to 64-bit
> >   linux ?
> 
> The message indicates off_t is 32-bit. --with-large-files
> makes it 
> 64-bit if your compiler supports the ILP32_OFFBIG
> environment.
> 
> I suggest an upgrade to Squid-3.1.10 or later though. There
> were some 
> cache size accounting problems with >2GB files
> discovered and fixed 
> recently.
> 
> Amos
> -- 
> Please be using
>    Current Stable Squid 2.7.STABLE9 or
> 3.1.11
>    Beta testers wanted for 3.2.0.5
> 


      



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux