1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
Apache Web Server Performance Tuning
In this window, you can set the Web server to optimize trade-offs
between performance and CPU usage. Normally, however, the default
values are good enough.
11.. NNuummbbeerr ooff PPrroocceesssseess
Apache is built around a parent process, which accepts connections
from clients, and one or more child processes. These child processes
complete the requests and return the accessed page. The number of
child processes changes dynamically, according to the number of
connections to the Web server. The number of processes is limited by
the value specified here.
11..11.. SSttaarrtt sseerrvveerrss
The Web server will start with the number of child processes specified
here.
11..22.. MMaaxx cclliieennttss ppeerr sseerrvveerrss
The maximum number of child processes. Each client connection uses a
child process, so this value indirectly controls how many clients can
simultaneously connect to the Web server. If this value is too low,
clients will be locked out, so be generous. This value is intended
mostly as a safeguard against having a runaway web server crash the
entire system.
11..33.. MMaaxx rreeqquueessttss ppeerr cchhiilldd
A child process will exit after serving this number of accesses. It
is intended as a failsafe against possible memory leaks. Currently,
however, there are none known.
11..44.. MMiinniimmuumm ooff ssppaarree sseerrvveerrss
Apache makes sure that there always are a few idle child processes,
for handling transient load spikes. If fewer than this number of child
processes are idle, more are started.
11..55.. MMaaxxiimmuumm ooff ssppaarree sseerrvveerrss
Apache also makes sure that no more than this number of idle child
processes exist. If more exist, some of them are killed.
22.. KKeeeeppss AAlliivvee
To reduce the bandwidth used by Web traffic, HTTP was extended to
allow more than one request within a single connection. This is
called a _p_e_r_s_i_s_t_e_n_t _c_o_n_n_e_c_t_i_o_n or you can say that the connection is
_k_e_p_t _a_l_i_v_e.
22..11.. KKeeeepp AAlliivvee
If enabled, browsers can establish persistent connections. If
disabled, the Web server will accept only one access per connection.
22..22.. KKeeeepp AAlliivvee TTiimmeeoouutt
This specifies the number of seconds to wait for the next request in a
persistent connection. If it is exceeded, the connection is closed.
22..33.. MMaaxx KKeeeepp AAlliivvee RReeqquueessttss
The maximum number of requests allowed during a persistent connection.
33.. AAddvvaanncceedd TTuunniinngg
33..11.. TTiimmee oouutt
The number of seconds the Web server will wait for a request to be
sent, after a client has connected to the server. If a client
connects, but does not send any requests, the client will be
disconnected after this time (freeing the resources it was occupying).
|