Zajimava chyba httpd.conf

Jaroslav Mechacek jara na ics.muni.cz
Sobota Únor 15 00:42:56 CET 1997


Jaroslav Pribyl wrote:
> 
> Zdravim vsechny,
> 
> potreboval bych vysvetlit takovou zvlastnost. Nedari se mi spustit vice
> nez jednu kopii apache.
> 
> ....
> 
> MinSpareServers 5
> MaxSpareServers 10
> 
> # Number of servers to start --- should be a reasonable ballpark figure.
> 
> StartServers 20
> 

StartServers by melo byt <= MaxSpareServers a >= MinSpareServers jinak
to nedava smysl.

Napr. pri tomto nastaveni se mi pri startu apache spusti 5 procesu:

MinSpareServers 5
MaxSpareServers 10
StartServers 5

> # Limit on total number of servers running, i.e., limit on the number
> # of clients who can simultaneously connect --- if this limit is ever
> # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
> # It is intended mainly as a brake to keep a runaway server from taking
> # Unix with it as it spirals down...
> 
> MaxClients 150
> ....
> 
>    Po spusteni httpd se pri vypisu bezicich procesu ukaze pouze jednou.
> 
>                         Priba


Další informace o konferenci Linux