[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Apache not exiting properly?



"Eric Sun" <esun@xxxxxxxx> writes:

> I have a rather pressing problem with Apache on my RaQ3.
> It seems as though Apache isn't exiting properly after it serves up a file.
> Thus, the server quickly gets overloaded with requests.

No, not at all. Apache isn't meant to exit after serving a file; it
starts up a certain number of slave servers, that each can take care
of one concurrent connection. This will speed things up for the
following page requests.

In the httpd.conf you can configure, how many slave servers that are
started at bootup and the minimum and maximum number of active slave
servers at a time. In addition you can define, for how many page
request a slave should "live" (before it's stopped, and a new slave is
started).


-- 
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@xxxxxxxxxxxxxxxxxxxx,
http://www.mermaidconsulting.dk/