Re: Linux 2.0.29-ISS and squid = too many fds open?

From: Oskar Pearson <oskar@dont-contact.us>
Date: Sun, 6 Apr 1997 14:09:29 +0200

Franz Sirl writes:
> At 21:38 Uhr +0200 04-04-1997, Toens Bueker wrote:
> >Hi *,
> >
> >I've got a strange phenomenon with linux-2.0.29ISS and
> >squid-1.1.9.
> >
> >Occasionally I get an error, that my 'personal' squid is
> >too busy to take further requests because there are no
> >file descriptors left.
> >I have 256 fds available - and shortly after the error
> >there were close to 240 available.
> >
> >Anybody out there with similiar sightings?
>
> Yes, it seems that with 1.1.9 some sockets stay in the CLOSE state
> unusually long (could be client related, Netscape2.0?). This didn't happen
> with 1.1.8 and before.

Do yourself a favor - increase the number of filedescriptors linux can handle.

Get the patch at http://www.linux.org.za/filehandle.patch.linux
or filehandle.patch.linux.v1 (may not work, but I have it there anyway)
(also ftp://ftp.is.co.za/linux/local/kernel/filehandle.patch.linux)

You will have to manually change the value in include/autoconf.h
after running "./configure" like this

#define DEFAULT_FD_SETSIZE 4096
#define SQUID_MAXFD 1024

Please tell me if you have hassles.
Received on Sun Apr 06 1997 - 05:19:50 MDT

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