httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <>
Subject Re: Apache MPMs comparing new fds with FD_SETSIZE, APR's ability to wait for i/o on socket
Date Tue, 09 Dec 2003 16:44:41 GMT
> Currently when Apache httpd accepts a new connection via APR, it compares
> 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
> poll(), where APR has to use select().  Unfortunately, use 1K threads with
> worker MPM on Solaris or some other platform with relatively small
> FD_SETSIZE and you'll start hitting meaningless FD_SETSIZE errors before
> 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
> extent so that APR apps don't have to worry about whether or not APR uses

This seems entirely sensible :)


View raw message