httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Fritsch">
Subject more apr_pollset_* error checking
Date Sun, 01 Feb 2009 12:38:53 GMT

the epoll limit in new linux kernels can cause problems because of
insufficient error checking in httpd. The most obvious problem was fixed
in in MPM prefork,
but mod_cgi, mod_proxy_connect, and the other MPMs should also check for
errors in apr_pollset_create/add.

Patch is at

For the documentation: This means that the limit in
/proc/sys/fs/epoll/max_user_instances needs to be twice the number of
MaxClients to handle the worst case of every process doing a proxy CONNECT
or cgi request.


View raw message