Rate This Document
Findability
Accuracy
Completeness
Readability

Apache Tuning

Purpose

Modify the Apache configuration file to improve the server performance.

Procedure

  1. Modify the parameters related to mpm_worker_module in the httpd-mpm.conf configuration file.
    The configuration file path is /usr/local/apache2/conf/extra/httpd-mpm.conf.
    <IfModule mpm_worker_module>
    ServerLimit             84
    ThreadLimit            128
    StartServers             8
    MaxClients            4000
    MinSpareThreads         75
    MaxSpareThreads        250
    ThreadsPerChild        128
    MaxRequestWorkers     5120
    MaxConnectionsPerChild   10000
    </IfModule>
  2. For details of Apache tuning, see the Apache Tuning Guide.