8335b1
# ./pullrev.sh 1570327
8335b1
http://svn.apache.org/viewvc?view=revision&revision=1570327
8335b1
8335b1
https://bugzilla.redhat.com/show_bug.cgi?id=1327624
8335b1
8335b1
--- httpd-2.4.6/server/mpm_unix.c
8335b1
+++ httpd-2.4.6/server/mpm_unix.c
8335b1
@@ -742,7 +742,12 @@
8335b1
      * readers stranded (a number of them could be tied up for
8335b1
      * a while serving time-consuming requests)
8335b1
      */
8335b1
+    /* Recall: we only worry about IDLE child processes here */
8335b1
     for (i = 0; i < num && rv == APR_SUCCESS; i++) {
8335b1
+        if (ap_scoreboard_image->servers[i][0].status != SERVER_READY ||
8335b1
+            ap_scoreboard_image->servers[i][0].pid == 0) {
8335b1
+            continue;
8335b1
+        }
8335b1
         rv = dummy_connection(pod);
8335b1
     }
8335b1
 }