worker and event MPMs: fix excessive forking if fork() or child_init
take a long time.
PR: 39275
Reviewed by: trawick, gregames, pquerna
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@424874
13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.2.3
+ *) worker and event MPMs: fix excessive forking if fork() or child_init
+ take a long time. PR 39275.
+ [Greg Ames, Jeff Trawick, Chris Darroch <chrisd pearsoncmg.com> ]
+
*) configure: Add "--with-included-apr" flag to force use of the
bundled version of APR at build time. [Joe Orton]
ways how to fix this and take care about the flush buckets.
I am willing to propose patches, but due to personal time
constraints they will not show up before the second half of July.
-
- * worker and event MPMs: fix excessive forking if fork() or child_init
- take a long time. PR 39275.
- http://svn.apache.org/viewvc?view=rev&revision=399099
- +1: trawick, gregames, pquerna
*/
if (ps->pid != 0) { /* XXX just set all_dead_threads in outer
for loop if no pid? not much else matters */
- if (status <= SERVER_READY && status != SERVER_DEAD &&
+ if (status <= SERVER_READY &&
!ps->quiescing && ps->generation == ap_my_generation) {
++idle_thread_count;
}
*/
if (ps->pid != 0) { /* XXX just set all_dead_threads in outer for
loop if no pid? not much else matters */
- if (status <= SERVER_READY && status != SERVER_DEAD &&
+ if (status <= SERVER_READY &&
!ps->quiescing &&
ps->generation == ap_my_generation) {
++idle_thread_count;