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