https://bz.apache.org/bugzilla/show_bug.cgi?id=65626

            Bug ID: 65626
           Summary: MPM Event doesn't shutdown idle children after working
                    under high load
           Product: Apache httpd-2
           Version: 2.4.37
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mpm_event
          Assignee: bugs@httpd.apache.org
          Reporter: gregvoro...@gmail.com
  Target Milestone: ---

After running ab with concurrency equal or more than MaxRequestWorkers for some
time, apache doesn't kill idle processes any longer. Following is logged every
second:

[Mon Oct 11 15:17:29.416964 2021] [mpm_event:trace5] [pid 71:tid
140381265582400] event.c(2834): Not shutting down child: total daemons 16 /
active limit 16 / ServerLimit 16

server-status (W busy worker is for server-status itself, no any other
requests):

BusyWorkers: 1
IdleWorkers: 1023
Processes: 16
Stopping: 0
BusyWorkers: 1
IdleWorkers: 1023
ConnsTotal: 0
ConnsAsyncWriting: 0
ConnsAsyncKeepAlive: 0
ConnsAsyncClosing: 0
Scoreboard:
________________________________________________________________________________________________________________________________________________________________________________W_______________________________________________________________________________________________________________________________________________________________

MPM conf:

<IfModule mpm_event_module>
    StartServers            2
    ServerLimit            16
    ThreadsPerChild        64
    MaxRequestWorkers    1024
    MinSpareThreads        32
    MaxSpareThreads        96
</IfModule>

ApacheBenchmark command requesting 700kb static file:
$ ab -n 10000 -k -c 1100

I can reproduce it after every run of ab with -c more than MaxRequestWorkers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to