Red Hat NETWORK PROXY SERVER 3.7 - Manual do Utilizador Página 33

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 101
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 32
2.2 httpd.conf 23
KeepAliveTimeout KeepAliveTimeout setsthenumberofsecondsyour
server will wait for a subsequent request, after a request has been
served, before it closes the connection. Once a request has been re-
ceived, the Timeout directive applies instead.
MinSpareServers and MaxSpareServers The Apache web server dy-
namically adapts to the perceived load by maintaining an appropri-
ate number of spareserver processesbased on the traffic. The server
checks the number of servers waiting for a request and kills some if
there are more than MaxSpareServers or creates some if the num-
ber of servers is less than MinSpareServers. Your server’s default
MinSpareServers is 8; your server’s default MaxSpareServers
is 20. These default settings should be appropriate in almost all sit-
uations. You should not increase the MinSpareServers to a very
large number, since that will create a heavy processing load on your
server even when trafficis light.
StartServers StartServers sets how many server processes are cre-
ated upon startup. Since your web server dynamically kills and cre-
ates server processes based on traffic load, you won’t ever need to
change this parameter. Your web server is set to start ten server pro-
cesses at startup.
MaxClients MaxClients sets a limit on the total number of server pro-
cesses (i.e., simultaneously connected clients) that can run at one
time. You wanttokeepMaxClients atahigh number(yourserver’s
default is set to 150), because no one else will be allowed to connect
once that number of simultaneously connected clients is reached.
You can’t set MaxClients to higher than 256 without recompiling
Apache. The main reason for having MaxClients is so that a run-
away web server doesn’t crash your operating system.
MaxRequestsPerChild MaxRequestsPerChild sets the total number
ofrequestseach child serverprocessservesbeforethechild dies. The
main reason for setting MaxRequestsPerChild is to avoid long-
lived process induced memory leaks. The default
MaxRequestsPerChild for your server is 100.
ProxyRequests If you uncomment ProxyRequests (which is set to on
but commented out), your Apache server will also function as a
proxy server. If you are enabling the proxy server, you will want to
Vista de página 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 100 101

Comentários a estes Manuais

Sem comentários