]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_event, mpm_worker: Fix cases where the spawn rate wasn't reduced
authorJeff Trawick <trawick@apache.org>
Thu, 19 Jul 2012 17:54:13 +0000 (17:54 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 19 Jul 2012 17:54:13 +0000 (17:54 +0000)
commit5e5fbe208342a00d581e6656270eca40931d1e2f
treee3c4476a183af62e0d4154905daf0bdbb366db95
parent6951c1d71a4d24bf918e332374d5835807f35618
mpm_event, mpm_worker: Fix cases where the spawn rate wasn't reduced
after child process resource shortages.

The broken scenario:

  child X exits with APEXIT_CHILDSICK
  another child Y is created and reuses child X's scoreboard slot
  child X's exit status is processed

The case that worked is when child X's scoreboard slot hadn't
been reused by the time that its exit status was processed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363440 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
server/mpm/event/event.c
server/mpm/worker/worker.c