]> granicus.if.org Git - apache/commit
mpm_event(opt), mpm_worker, mpm_prefork: follow up to r1635521, r1640161.
authorYann Ylavic <ylavic@apache.org>
Thu, 20 Nov 2014 16:26:04 +0000 (16:26 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 20 Nov 2014 16:26:04 +0000 (16:26 +0000)
commit4669bc745bc82de3022d7370eca72091c83e205f
tree47df78490426df347d5998bf953f46983548e0da
parenta952fd276fce490f774836cc814abf863ea398e3
mpm_event(opt), mpm_worker, mpm_prefork: follow up to r1635521, r1640161.

Retain num_buckets and max_buckets accross restarts so that we can determine
whether new buckets were allocated and set their idle_spawn_rate at the same
level as the existing ones (max).

Also, adjust ap_daemons_limit and ap_daemons_to_start lower bounds at mpm_run()
time, once num_buckets is available for the current generation (previously done
at check_config time, hence before num_buckets is computed, and then with the
previous generation's value).

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