- publishing free software manuals
The Apache HTTP Server Reference Manual
by Apache Software Foundation
Paperback (6"x9"), 862 pages
ISBN 9781906966034
RRP £19.95 ($29.95)

Get a printed copy>>>

23  Apache Performance Tuning

Apache 2.x is a general-purpose webserver, designed to provide a balance of flexibility, portability, and performance. Although it has not been designed specifically to set benchmark records, Apache 2.x is capable of high performance in many real-world situations.

Compared to Apache 1.3, release 2.x contains many additional optimizations to increase throughput and scalability. Most of these improvements are enabled by default. However, there are compile-time and run-time configuration choices that can significantly affect performance. This section describes the options that a server administrator can configure to tune the performance of an Apache 2.x installation. Some of these configuration options enable the httpd to better take advantage of the capabilities of the hardware and OS, while others allow the administrator to trade functionality for speed.

 23.1  Hardware and Operating System Issues
 23.2  Run-Time Configuration Issues
  23.2.1  HostnameLookups and other DNS considerations
  23.2.2  FollowSymLinks and SymLinksIfOwnerMatch
  23.2.3  AllowOverride
  23.2.4  Negotiation
  23.2.5  Memory-mapping
  23.2.6  Sendfile
  23.2.7  Process Creation
 23.3  Compile-Time Configuration Issues
  23.3.1  Choosing an MPM
  23.3.2  Modules
  23.3.3  Atomic Operations
  23.3.4  mod_status and ExtendedStatus On
  23.3.5  accept Serialization - multiple sockets
  23.3.6  accept Serialization - single socket
  23.3.7  Lingering Close
  23.3.8  Scoreboard File
  23.3.9  DYNAMIC_MODULE_LIMIT
 23.4  Appendix: Detailed Analysis of a Trace

ISBN 9781906966034The Apache HTTP Server Reference ManualSee the print edition