Re: [SQU] Filedescriptors on linux 2.4 systems

From: Awais <[email protected]>
Date: Thu, 08 Feb 2001 09:50:05 -0900

As far as I know Ulimit would be able to limit...but never increase the amount
of filedescriptors available to you.

Awais

William Wishon wrote:

> Henrik,
>
> I'm using:
> ulimit -HSn 8192
>
> uname -r says:
> 2.4.1
>
> I have libc version:
>
> /lib/libc.so.6 is a symlink to /lib/libc.so.2.1.2s
>
> and configure output this message:
>
> checking Default FD_SETSIZE value... 8192
> checking Maximum number of filedescriptors we can open... 256
> WARNING: 256 may not be enough filedescriptors if your
> cache will be very busy. Please see the FAQ page
> http://squid.nlanr.net/Squid/FAQ/FAQ-11.html#filedescriptors
> on how to increase your filedescriptor limit
>
> I followed your note online and did make clean and deleted config.cache
> before rebuilding. I don't seem to have a /usr/include/linux/limits.h
> though, would that be a problem? and would you know why I might not have
> that?
>
> -Bill
>
> > -----Original Message-----
> > From: hno@hem.passagen.se [mailto:hno@hem.passagen.se]
> > Sent: Wednesday, February 07, 2001 4:38 PM
> > To: William Wishon
> > Cc: Squid-Users@Ircache. Net
> > Subject: Re: [SQU] Filedescriptors on linux 2.4 systems
> >
> >
> > There is no change in 2.4.
> >
> > What is your setting of ulimit -Hn?
> >
> > Which version of libc are you using?
> >
> >
> > I do not know of any reasonably modern Linux system who limits the
> > filedescriptors to 256. All Linux system based on Linux-2.2 or later
> > should at least give you 1024 filedescriptors out of the box. The 256
> > limit was in Linux-2.0 and earlier.
> >
> > uname -r
> >
> > prints the kernel version you are running.
> >
> > --
> > Henrik Nordstrom
> > Squid hacker
> >
> >
> > William Wishon wrote:
> > >
> > > Is there any difference in how to increase the maximum number of
> > > filedescriptors squid can use on Linux between a 2.2.x kernel
> > and the 2.4.x
> > > kernels? I tried the steps listed on Henrik's site at
> > > http://squid.sourceforge.net/hno/linux-lfd.html but it didn't work. The
> > > configure script says that FD_SETSIZE is set to 8192 but then
> > warns me that
> > > 256 might not be enough filedescriptors for a large system?
> > What else do I
> > > have to do in order to have squid use more than 256 FD's?
> > >
> > > -Bill
> > >
> > > --
> > > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Feb 07 2001 - 21:49:09 MST

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