Re: [users@httpd] MinSpareServers, MaxSpareServers & StartServers

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

 



On Tue, 15 Mar 2005 12:25:33 -0800 (PST), Charles Li <cli168@xxxxxxxxx> wrote:
> Hi,
> I have read the document of the above parameters.
> My understanding from the reading is that every time
> the MinSpareServers (MNSS) falls below 5, the default
> value, Apache will create enough server to satify the
> MNSS value.  Since the default StartServers (SS) is 5,
> when the first request comes in, Apache will have to
> start and create another server to replace the server
> that is serving the first request.  My question is:
> should I set the SS to be greater than the MNSS, so
> the above scenario would be reduced.

If you'd like, you can set StartServers to anywhere between
MinSpareServers and MaxSpareServers.  But you'll probably find that,
as long as you keep these numbers reasonable, you won't notice any
effect on apache performance.

> 
> Another question, when the server is serving a
> request, it normally passes the request to the other
> modules to process the request, ie, oc4j, perl or php
> modules, is this server immediately free to process
> another request?  Or does it wait for the same request
> to come back?

It waits.  In fact, for many modules, the module processing happens in
the same process, so there is no free process anyway.  But in any
case, apache does not have an event-driven architecture, so it must
dedicate a process to each request until the request is done.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux