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.

Reply via email to