/[Apache-SVN]
ViewVC logotype

Revision 1893471


Jump to revision: Previous Next
Author: ylavic
Date: Mon Sep 20 14:27:42 2021 UTC (2 years, 7 months ago)
Changed paths: 4
Log Message:
MPMs: cap idle_spawn_rate to MAX_SPAWN_RATE.

idle_spawn_rate *= 2 can go above MAX_SPAWN_RATE at some point, and it's not
enough for MAX_SPAWN_RATE to be a power of two for MPMs event and worker since
idle_spawn_rate is per bucket (num_buckets is not necessarily a power of two).

Let's cap on the other MPMs too should MAX_SPAWN_RATE change in the future.



Changed paths

Path Details
Directoryhttpd/httpd/trunk/server/mpm/event/event.c modified , text changed
Directoryhttpd/httpd/trunk/server/mpm/netware/mpm_netware.c modified , text changed
Directoryhttpd/httpd/trunk/server/mpm/prefork/prefork.c modified , text changed
Directoryhttpd/httpd/trunk/server/mpm/worker/worker.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26