Chapter 22. Apache HTTP Server
• MinSpareServers
• MaxSpareServers
• MaxClients
• MaxRequestsPerChild
The worker MPM implements a multi-process, multi-threaded server providing greater scalability.
When using this MPM, requests are handled by threads, conserving system resources and allowing
large numbers of requests to be served efficiently. Although some of the directives accepted by the
worker MPM are the same as those accepted by the prefork MPM, the values for those directives
should not be transfered directly from an Apache HTTP Server 1.3 installation. It is best to instead use
the default values as a guide, then experiment to determine what values work best.
Important
To use the worker MPM, create the file /etc/sysconfig/httpd and add the following
directive:
HTTPD=/usr/sbin/httpd.worker
For more on the topic of MPMs, refer to the following documentation on the Apache Software
Foundation's website:
http://httpd.apache.org/docs-2.0/mpm.html
•
22.2.2.1.3. Dynamic Shared Object (DSO) Support
There are many changes required here, and it is highly recommended that anyone trying to modify an
Apache HTTP Server 1.3 configuration to suit version 2.0 (as opposed to migrating the changes into
the version 2.0 configuration) copy this section from the stock Apache HTTP Server 2.0 configuration
file.
Those who do not want to copy the section from the stock Apache HTTP Server 2.0 configuration
should note the following:
• The AddModule and ClearModuleList directives no longer exist. These directives where used to
ensure that modules could be enabled in the correct order. The Apache HTTP Server 2.0 API allows
modules to specify their ordering, eliminating the need for these two directives.
• The order of the LoadModule lines are no longer relevant in most cases.
• Many modules have been added, removed, renamed, split up, or incorporated into others.
• LoadModule lines for modules packaged in their own RPMs (mod_ssl, php, mod_perl, and the
like) are no longer necessary as they can be found in their relevant files within the /etc/httpd/
conf.d/ directory.
• The various HAVE_XXX definitions are no longer defined.
308
Need help?
Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?
Questions and answers