httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52102] Documentation for MPM worker does not match default configuration
Date Tue, 20 Mar 2012 11:34:34 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52102

--- Comment #2 from Daniel Gruno <daniel@gruno.dk> 2012-03-20 11:34:34 UTC ---
Confirming Rich's observation:

The defaults in mpm_default.h/worker.c for both 2.2 and 2.4 are:

StartServers: 
    in mpm_default.h: #define DEFAULT_START_DAEMON 3
    in worker.c: ap_daemons_to_start = DEFAULT_START_DAEMON;
    Default becomes: 3

MinSpareThreads:
    in mpm_default.h: #define DEFAULT_MIN_FREE_DAEMON 3
    in mpm_default.h: #define DEFAULT_THREADS_PER_CHILD 25
    in worker.c: min_spare_threads = DEFAULT_MIN_FREE_DAEMON *
DEFAULT_THREADS_PER_CHILD;

    Default becomes: 3 * 25 = 75


MaxSpareThreads:
    in mpm_default.h: #define DEFAULT_MAX_FREE_DAEMON 10
    in mpm_default.h: #define DEFAULT_THREADS_PER_CHILD 25
    in worker.c: max_spare_threads = DEFAULT_MAX_FREE_DAEMON *
DEFAULT_THREADS_PER_CHILD;

    Default becomes: 10 * 25 = 250

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message