Re: Transparent Proxy

From: Thilo Manske <Thilo.Manske@dont-contact.us>
Date: Tue, 8 Jun 1999 15:13:47 +0200

On Tue, Jun 08, 1999 at 12:21:41PM +0100, Dave J Woolley wrote:
> > Case 1:
> > Jun 8 17:26:17 proxy3 squid[249]: WARNING! Your cache is running out of
> > filedescriptors
> >
> Simple overload, but might need kernel patch and rebuild,
> or change of OS.
No, for *BSD sysctl -w kern.maxfiles=<maxnumbers> is enough.
But you have to reconfigure and rebuild squid after that since the maximum
number squid uses is hardcoded into the binary.

But since *BSD defaults are quite high (eg. >1700 for 32 users on NetBSD)
I think something is going really wild here:

> > Case 2:
> > Jun 8 17:26:30 proxy3 squid[249]: WARNING: Forwarding loop detected for:
IIRC a router made the redirection of port 80 to the squid.
But if squid fetches through the router there must be an exception of the
redirection rules for the squid box to prevent squid's fetches to "bounce"
back from the router.

I guess such a loop could result in a big filedescriptor-eating of squid.

-- 
Dies ist Thilos Unix Signature! Viel Spass damit.
Received on Tue Jun 08 1999 - 07:08:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:48 MST