]> git.ipfire.org Git - thirdparty/apache/httpd.git/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)
commita880f55fc7d08076a437510e6cfea45e0f16c421
tree47df78490426df347d5998bf953f46983548e0da
parent5abdc4d71a0c4fdf5ce5a4114ef60b0db94ae51e
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 pre_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