apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: Seting FD_SETSIZE on WIN32
Date Sun, 17 Apr 2005 15:35:42 GMT
William A. Rowe, Jr. wrote:
> Feel free to research; the issue is the underlying calls to
> [WSA]WaitForEventOrTimeout ... Windows can't poll more than
> 64 handles + timeout event.
>

Well, I have tested by precompiling the APR with FD_SETSIZE set
to 16384, and didn't find any issues.

Actually it can poll huge number of sockets from apr_pollset.
We have implementation for Tomcat (jakata-tomcat-connectors/jni)
that uses APR for polling keepalive sockets.
We have tests with 2000 concurrent connections hanging in the
poll served with 100 threads.
So I suppose that the select() uses something different
then WaitForMultipleObjects internally.

Regards,
Mladen.

Mime
View raw message