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

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 8 Dec 2004 23:47:04 +0100 (CET)

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 run the command, ulimit -HSn 8192 and lastly,

This you need however.

Regards
Henrik
Received on Thu Dec 09 2004 - 09:53:19 MST

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