0% found this document useful (0 votes)
25 views

HTTP Configuration

The document discusses Apache web server configuration options for performance tuning. It recommends setting KeepAlive to On, allowing unlimited requests per connection by setting MaxKeepAliveRequests to 0, and setting KeepAliveTimeout to 15 seconds. It also recommends values for performance tuning options like MinSpareServers, MaxSpareServers, StartServers, MaxClients, and MaxRequestsPerChild for high load operations. The document contains examples of configuration settings for different load levels.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

HTTP Configuration

The document discusses Apache web server configuration options for performance tuning. It recommends setting KeepAlive to On, allowing unlimited requests per connection by setting MaxKeepAliveRequests to 0, and setting KeepAliveTimeout to 15 seconds. It also recommends values for performance tuning options like MinSpareServers, MaxSpareServers, StartServers, MaxClients, and MaxRequestsPerChild for high load operations. The document contains examples of configuration settings for different load levels.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Timeout 300

The option Timeout specifies the amount of time Apache will wait for a GET, POST,
PUT request and ACKs on transmissions. You can safely leave this option on its
default values.

KeepAlive On

The option KeepAlive, if set to On, specifies enabling persistent connections on this
web server. For better performance, it's recommended to set this option to On, and
allow more than one request per connection.

MaxKeepAliveRequests 0

The option MaxKeepAliveRequests specifies the number of requests allowed per


connection when the KeepAlive option above is set to On. When the value of this
option is set to 0 then unlimited requests are allowed on the server. For server
performance, it's recommended to allow unlimited requests.

KeepAliveTimeout 15

The option KeepAliveTimeout specifies how much time, in seconds, Apache will
wait for a subsequent request before closing the connection. The value of 15 seconds
is a good average for server performance.

MinSpareServers 16

The option MinSpareServers specifies the minimum number of idle child server
processes for Apache, which is not handling a request. This is an important tuning
parameter regarding the performance of the Apache web server. For high load
operation, a value of 16 is recommended by various benchmarks on the Internet.

MaxSpareServers 64

The option MaxSpareServers specifies the maximum number of idle child server
processes for Apache, which is not handling a request. This is also an important
tuning parameter regarding the performance of the Apache web server. For high load
operation, a value of 64 is recommended by various benchmarks on the Internet.

StartServers 16

The option StartServers specifies the number of child server processes that will be
created by Apache on start-up. This is, again, an important tuning parameter regarding
the performance of the Apache web server. For high load operation, a value of 16 is
recommended by various benchmarks on the Internet.

MaxClients 512

The option MaxClients specifies the number of simultaneous requests that can be
supported by Apache. This too is an important tuning parameter regarding the
performance of the Apache web server. For high load operation, a value of 512 is
recommended by various benchmarks on the Internet.

MaxRequestsPerChild 100000

The option MaxRequestsPerChild specifies the number of requests that an individual


child server process will handle. This too is an important tuning parameter regarding
the performance of the Apache web server.

ThreadLimit 1000

ServerLimit 2

StartServers 1

MaxClients 2000

MinSpareThreads 1

MaxSpareThreads 100

ThreadsPerChild 1000

MaxRequestsPerChild 0

</IfModule>

==========

StartServers 2

MaxClients 150

MinSpareThreads 25

MaxSpareThreads 75

ThreadsPerChild 25

MaxRequestsPerChild 0
============

ThreadLimit 3000

ServerLimit 1

StartServers 1

MaxClients 3000

MinSpareThreads 1024

MaxSpareThreads 1024

ThreadsPerChild 3000

MaxRequestsPerChild 0

You might also like