fix child exit status in prefork after certain errors in
the child so that the parent resets the spawn rate to the
minimum
or:
mpm_prefork: Reduce spawn rate after a child process exits due to
unexpected poll or accept failure.
Submitted by: trawick
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1364607 13f79535-47bb-0310-9956-
ffa450edef68
LoadModule and the file cannot be found in the server root directory,
try to use the standard dlopen() search path. [Stefan Fritsch]
+ *) mpm_prefork: Reduce spawn rate after a child process exits due to
+ unexpected poll or accept failure. [Jeff Trawick]
+
*) core: Log value of Status header line in script responses rather
than the fixed header name. [Chris Darroch]
2.4.x patch: trunk patch works (needs CHANGES entry)
+1: sf, rjung, jim
- * mpm_prefork: Reduce spawn rate after a child process exits due to
- unexpected poll or accept failure.
- trunk patch: http://svn.apache.org/viewvc?rev=1363183&view=rev
- 2.4.x patch: trunk patch works
- +1: trawick, rjung, jim
-
* mpm_event, mpm_worker: Fix cases where the spawn rate wasn't reduced
after child process resource shortages.
trunk patch: http://svn.apache.org/viewvc?rev=1363440&view=rev
ap_log_error(APLOG_MARK, APLOG_ERR, status,
ap_server_conf, APLOGNO(00158) "apr_pollset_poll: (listen)");
SAFE_ACCEPT(accept_mutex_off());
- clean_child_exit(1);
+ clean_child_exit(APEXIT_CHILDSICK);
}
/* We can always use pdesc[0], but sockets at position N
if (status == APR_EGENERAL) {
/* resource shortage or should-not-occur occured */
- clean_child_exit(1);
+ clean_child_exit(APEXIT_CHILDSICK);
}
else if (status != APR_SUCCESS) {
continue;