Re: KeepAlive and load balancing?

From: Ulric Eriksson (
Date: Wed Nov 05 2003 - 13:59:37 CET

On Tue, 4 Nov 2003, Charlie Reitsma wrote:

> Does KeepAlive in an Apache web server make any sense in load balancing? Each
> web server sees all of its requests coming from the load balancer. What is
> KeepAlive doing in such a case? Is it keeping a connection open between the
> webserver and the load balancer? If it works like that I would expect to find
> only one Apache web process running on the server but I usually see a dozen or
> so in various states (thus it must not work like that). I guess it's back to
> school for me.

Apache always keeps a number of servers running to improve performance, so
a dozen seems reasonable. See the configuration options MinSpareServers,
MaxSpareServers and StartServers in httpd.conf.


This archive was generated by hypermail 2.1.2 : Wed Nov 05 2003 - 14:00:10 CET