Subject: Re: increasing FD_SETSIZE to 1024 or 2048?
To: None <firstname.lastname@example.org>
From: John Kohl <email@example.com>
Date: 07/04/2000 18:39:46
>>>>> "Todd" == Todd Vierling <firstname.lastname@example.org> writes:
Todd> NetBSD doesn't ship any precompiled libraries that use select().
Todd> (libresolv actually uses poll(), which has no limit imposed by FD_SETSIZE.)
You didn't include libc in this analysis. The ONC RPC runtime uses
select inside its service handling code
This causes problems if the calling program increases FD_SETSIZE and its
file descriptor process limit, and then expects high-numbered file
descriptors to work properly with the RPC runtime's built-in small
fd_sets. To make it worse, the RPC runtime exports its fd_set as a
global symbol the program can tweak. All callers had better use the
same set size!
==John Kohl <email@example.com>, <firstname.lastname@example.org>
Home page: <http://people.ne.mediaone.net/jtk/>
Bicycling and Skiing to keep fit.