]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_event: Handle children killed pathologically.
authorYann Ylavic <ylavic@apache.org>
Thu, 14 Apr 2022 14:38:03 +0000 (14:38 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 14 Apr 2022 14:38:03 +0000 (14:38 +0000)
commit33e7deed8d0418458cf229cf3b82d60acde96654
tree9fedea8c6f89b9f00d172aa086156da4b1d7fa2f
parent3a723a3adad0625efc78eab627cdcf196d57b188
mpm_event: Handle children killed pathologically.

If children processes get killed (SIGSEGV/SIGABRT/..) early after starting or
frequently enough then we never enter perform_idle_server_maintenance() to
try something.

Below three successive children killed restart them immediately, above three
let's sleep the usual 1s (to avoid fork()s flood) and do the idle maintenance.

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