Subject: Re: FD_SETSIZE
To: Jon Ribbens <jon@oaktree.co.uk>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-help
Date: 05/06/1997 11:57:02
On Tue, 6 May 1997 19:31:07 +0100
Jon Ribbens <jon@oaktree.co.uk> wrote:
> After some searching, we've managed to work out that the cause of
> Apache failing to start when we add a new virtual server is that
> 'select' is a pretty badly designed call ;-).
...are you using NetBSD-current?
> Anyway, the real question is: can I just edit /usr/include/types.h,
> increase FD_SETSIZE to 1024, recompile the kernel, and expect
> everything to work? Do I need to compile anything else? (e.g. shared
> c libraries, etc.)
...existing libraries compiled with old FS_SETSIZE won't deal. -current
can deal with a fd sets larger than FS_SETSIZE. NetBSD-current also has
a properly-implemented poll(2) system call which doesn't have these limits.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939