> Currently when Apache httpd accepts a new connection via APR, it compares the > fd with FD_SETSIZE and bombs if fd >= FD_SETSIZE. > > The limited value of this check is on platforms such as OS X < 10.3 with no > poll(), where APR has to use select(). Unfortunately, use 1K threads with > worker MPM on Solaris or some other platform with relatively small *default* > FD_SETSIZE and you'll start hitting meaningless FD_SETSIZE errors before you > get the 1K threads busy talking to clients. (APR doesn't use select() on > Solaris anyway, so the FD_SETSIZE check is not helpful.) > > For APR 1.0, I think it would be better for APR to handle this to the greatest > extent so that APR apps don't have to worry about whether or not APR uses select().
This seems entirely sensible :) david