core: Use process scoreboard to store each child's listener bucket,

and silently adjust the configured number of processes/threads to
be above the computed number of listener buckets (depending on the
CPU cores).



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629909 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2014-10-07 15:16:02 +00:00
parent 0d4cb3f363
commit a527db4331
6 changed files with 218 additions and 169 deletions

View File

@ -469,6 +469,7 @@
* 20140627.5 (2.5.0-dev) Add r->trailers_{in,out}
* 20140627.6 (2.5.0-dev) Added ap_pcre_version_string(), AP_REG_PCRE_COMPILED
* and AP_REG_PCRE_LOADED to ap_regex.h.
* 20140627.7 (2.5.0-dev) Add listener bucket in scoreboard.h's process_score.
*/
#define MODULE_MAGIC_COOKIE 0x41503235UL /* "AP25" */
@ -476,7 +477,7 @@
#ifndef MODULE_MAGIC_NUMBER_MAJOR
#define MODULE_MAGIC_NUMBER_MAJOR 20140627
#endif
#define MODULE_MAGIC_NUMBER_MINOR 6 /* 0...n */
#define MODULE_MAGIC_NUMBER_MINOR 7 /* 0...n */
/**
* Determine if the server's current MODULE_MAGIC_NUMBER is at least a