Re: Wirtualny serwer

Autor: Michal Jankowski (michalj_at_fuw.edu.pl)
Data: Wed 29 Jan 1997 - 10:41:21 MET


Sergiusz Pawlowicz <ser_at_serek.arch.pwr.wroc.pl> writes:
> Jaroslaw Strzalkowski <js_at_galaxy.uci.agh.edu.pl> wrote:
> : Raczej doforkowywany. W każdym razie te procesy nie są każdorazowo
> : startowane dla każdego połączenia tylko obsługują połączenie i
> : czekają na następne (a jeden proces zajmuje się rozdzielaniem
> : połączeń pomiędzy pozostałem procesy).
>
> Jest tylko jeden problem - procesy sie nie 'odforkowywuja' jak sie ich
> namnozy duzo i zostaja smiecac w RAMie albo swapie.

Nieprawda.

# Server-pool size regulation. Rather than making you guess how many
# server processes you need, Apache dynamically adapts to the load it
# sees --- that is, it tries to maintain enough server processes to
# handle the current load, plus a few spare servers to handle transient
# load spikes (e.g., multiple simultaneous requests from a single
# Netscape browser).
# It does this by periodically checking how many servers are waiting
# for a request. If there are fewer than MinSpareServers, it creates
# a new spare. If there are more than MaxSpareServers, some of the
# spares die off. These values are probably OK for most sites ---
 
MinSpareServers 10
MaxSpareServers 20

No, chyba ze ustawisz MaxSpareServers na 9999 albo cos w tym
rodzaju...

  MJ



To archiwum zostało wygenerowane przez hypermail 2.1.7 : Wed 19 May 2004 - 16:02:12 MET DST