View | Details | Raw Unified | Return to bug 53555
Collapse All | Expand All

(-)server/mpm/event/event.c (-5 / +6 lines)
Lines 1816-1826 Link Here
1816
            /* If all workers are busy, we kill older keep-alive connections so that they
1816
            /* If all workers are busy, we kill older keep-alive connections so that they
1817
             * may connect to another process.
1817
             * may connect to another process.
1818
             */
1818
             */
1819
            if (workers_were_busy && *keepalive_q->total) {
1819
            if ((workers_were_busy || dying) && *keepalive_q->total) {
1820
                ap_log_error(APLOG_MARK, APLOG_TRACE1, 0, ap_server_conf,
1820
                if (!dying)
1821
                             "All workers are busy, will close %d keep-alive "
1821
                    ap_log_error(APLOG_MARK, APLOG_TRACE1, 0, ap_server_conf,
1822
                             "connections",
1822
                                 "All workers are busy, will close %d keep-alive "
1823
                             *keepalive_q->total);
1823
                                 "connections",
1824
                                 *keepalive_q->total);
1824
                process_timeout_queue(keepalive_q, 0,
1825
                process_timeout_queue(keepalive_q, 0,
1825
                                      start_lingering_close_nonblocking);
1826
                                      start_lingering_close_nonblocking);
1826
            }
1827
            }

Return to bug 53555