]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
merge from trunk:
authorJeff Trawick <trawick@apache.org>
Mon, 24 Jul 2006 01:34:58 +0000 (01:34 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 24 Jul 2006 01:34:58 +0000 (01:34 +0000)
  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

CHANGES
STATUS
server/mpm/experimental/event/event.c
server/mpm/worker/worker.c

diff --git a/CHANGES b/CHANGES
index b7720b9f941578d5ffdbff211f0038f3f3793ee6..70eb9189b7b0d85010236e78371ffe019db461c7 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
                                                         -*- 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]
 
diff --git a/STATUS b/STATUS
index 3b7de88de385c7291bbda9ecd6b84e361b65cbf7..57ce6aa40600854f68ea17482ad2176b698205dc 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -153,8 +153,3 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK:
               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
index 43f6612629fbb65c2329f579f3cc9fa69a5c3c55..c47e857d9af46cf39fb609da5b758614982fb616 100644 (file)
@@ -1665,7 +1665,7 @@ static void perform_idle_server_maintenance(void)
              */
             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;
                 }
index ca6fa9216c7a4ae5e300c97d61ad85364e54af5b..142b7a42e1442b10ed2edaad933d5a6dfe82353a 100644 (file)
@@ -1418,7 +1418,7 @@ static void perform_idle_server_maintenance(void)
              */
             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;