Re: Filedescriptors - FAQ could be wrong.

From: Oskar Pearson <oskar@dont-contact.us>
Date: Tue, 1 Jul 1997 09:45:34 +0200

"Tom Minchin" writes:
> > Hi..
> >
> > I just applied Michael O'Riellys patch for 3000FD's without hassle,
> > re-compiled and rebooted with that new image. However, squid still only
> > detects 256FD's available.
> >
> > I increased FDs before with "step by step" guide in the FAQ for squid
> > without any hassles (and it worked), but this has disappeared and a link
> > just for a patch has replaced it. Does anyone still have those "step by
> > step" editing guidlines?
> >
> It seems to work for us:
> 97/06/28 15:19:10| Starting Squid Cache version 1.NOVM.11 for i586-pc-linux-gnu.
> ..
> 97/06/28 15:19:10| With 3000 file descriptors available
>
> Last time I looked the 'step by step' guide for Linux on NLANR didn't work
> (as though several parts of the document were missing!). I have a complete
> copy at http://users.interact.net.au/~tom/tweak.html.
this only supports 1024 fd's... in a static table (ie it uses lots of
ram when there aren't that many files open)

here is the reply that I sent Karl...

------------------------------
hmm - It doesn't do this with me -
checking Default FD_SETSIZE value... 4096
checking Maximum number of filedescriptors we can open... 3000
(exact same patch agains 2.0.30)
try check your ulimits - it may have something setup there, and
also check that /usr/include/linux is are symlinked - some distributions
include two copies of the include files - one that they unpack with
the development kit (all of the /usr/include/* files actually reference
/usr/include/linux/*) so that you can compile stuff...

lrwxrwxrwx 1 root root 24 Sep 7 1996 asm -> ../src/linux/inclu
de/asm
lrwxrwxrwx 1 root root 26 Sep 7 1996 linux -> ../src/linux/inc
lude/linux
[oskar@kasmilos include]$ pwd
/usr/include

the filehandle patch fixes stuff in /usr/src/linux/include/* so if you don't
have the symlinks it won't work.
----------------------

Oskar
Received on Tue Jul 01 1997 - 00:46:45 MDT

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