Re: [squid-users] Re: Max-File Descriptors

From: Ow Mun Heng <Ow.Mun.Heng@dont-contact.us>
Date: Mon, 13 Dec 2004 10:39:48 +0800

On Thu, 2004-12-09 at 06:47, Henrik Nordstrom wrote:
> On Mon, 22 Nov 2004, Diamond King wrote:
>
> > You still need to insert __FD_SETSIZE in kernel 2.6. i
> > guess. Open up the /usr/include/bits/types.h with any
> > editor and insert __FD_SETSIZE 8192 at the top of the
> > file.
>
> This question is more of an glibc question than kernel, and no, you do not
> need to edit this file any more with Squid-2.5 as Squid now automatically
> works around the glibc limit.

Then should the FAQ be updated to reflect that??
>
> > then run the command, ulimit -HSn 8192 and lastly,
>
> This you need however.

I see, so, this is needed to get Squid to have 8192 file-descriptors.
Otherwise it'll default to 4096 max.

I'll see how far I can go without recompiling and just using Fedora's
packaged rpms

--
Ow Mun Heng
Gentoo/Linux on D600 1.4Ghz 
Neuromancer 10:38:20 up 1:33, 5 users, 0.38, 0.54, 0.67 
Received on Sun Dec 12 2004 - 19:59:34 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST