You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2011/10/27 18:47:38 UTC

DO NOT REPLY [Bug 52102] New: Documentation for MPM worker does not match default configuration

https://issues.apache.org/bugzilla/show_bug.cgi?id=52102

             Bug #: 52102
           Summary: Documentation for MPM worker does not match default
                    configuration
           Product: Apache httpd-2
           Version: 2.2.21
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Documentation
        AssignedTo: docs@httpd.apache.org
        ReportedBy: beandog@gentoo.org
    Classification: Unclassified


The documentation for Apache 2.2 MPM worker states default values that are
different from the ones shipped with a vanilla install --
./docs/conf/extra/httpd-mpm.conf.in

Here are the differences --

Documentation:

StartServers 3
MinSpareThreads 75
MaxSpareThreads 250

httpd-mpm.conf.in:

StartServers 2
MinSpareThreads 25
MaxSpareThreads 75

-- 
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


DO NOT REPLY [Bug 52102] Documentation for MPM worker does not match default configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52102

--- Comment #1 from Rich Bowen <rb...@apache.org> 2012-03-05 01:50:21 UTC ---
It's important to note that "default" doesn't mean "what's in the default
config file", but rather means "what will happen if you don't config it at
all". I'll need to poke around to determine which this is.

-- 
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


DO NOT REPLY [Bug 52102] Documentation for MPM worker does not match default configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52102

--- Comment #2 from Daniel Gruno <da...@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


DO NOT REPLY [Bug 52102] Documentation for MPM worker does not match default configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52102

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Rich Bowen <rb...@apache.org> 2012-03-30 13:21:50 UTC ---
Daniel fixed this. Closing.

-- 
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