You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Jeffrey W. Baker" <jw...@acm.org> on 2000/03/02 03:12:35 UTC

[PATCH] Re: Can't make sense out of process configuration directives

Manoj Kasichainula wrote:

> > 1) Change Child and Server to Process everywhere
> 
> +1

Patch attached.

> > 2) Clarify whether Max/MinSpareThreads is overall or per process.
> 
> Here, it's per-process. :)

Got it :)  Shouls be obvious now from the directive name.

> > 3) Change StartThreads to MinThreads.
> 
> Or MinThreadsPerChild, anyway. I could see this being reasonable,
> perhaps, though that's really a change in defined bhavior for the
> directive.

Right, but a MinThreadsPerProcess seems more meaningful than
StartThreads.  StartThreads is sort of pointless if the number of
threads may fall below that mark.  MinThreads not only provides a lower
limit, but also doubles at StartThreads.

A patch is attached which does both.  I tested it and it works.  I'll do
the same for the other MPMs unless I hear objections.

-jwb