Re: FreeBSD 2.1.7.1 and FD_SETSIZE

From: <Kaz.Tanaka@dont-contact.us>
Date: Thu, 10 Jul 1997 09:33:43 +0900

>>>>> On Wed, 9 Jul 1997 08:54:06 +0100, "James R Grinter" <jrg@blodwen.demon.co.uk> said:

>> it was done because, whilst a stock system < 2.2 (and the same
>> applies to most BSD systems of around that vintage) will allow a
>> large number of file descriptors per process, select() won't work
>> with larger than 256 (exactly as the comment said) and Squid will
>> break quite spectacularly.

 Same problem with BSDI 2.x. ( i think )
 I re-defined CHANGE_FD_SETSIZE 0 in order NOT to make select() handle
more than 256 FDs.
 Otherwise, Squid dies often when many clients are rushing into it.

        Kaz.Tanaka
Received on Wed Jul 09 1997 - 17:47:34 MDT

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