> # pthread MPM
> # StartServers ......... initial  number of server processes to start
> # MaxClients ........... maximum  number of server processes allowed to
> start
> # MinSpareThreads ...... minimum  number of worker threads which are
> kept spare
> # MaxSpareThreads ...... maximum  number of worker threads which are
> kept spare
> # ThreadsPerChild ...... constant number of worker threads in each
> server process
> # MaxRequestsPerChild .. maximum  number of requests a server process
> serves
> <IfModule threaded.c>
> StartServers         3
> MaxClients           8
> MinSpareThreads      5
> MaxSpareThreads     10
> ThreadsPerChild     25
> MaxRequestsPerChild  0
> </IfModule>
> -----------------------------------------------------------------------------
>
> This MPM has a constant number of worker threads in each process.
>
> What is the use of the MinSpareThreads and MaxSpareThreads in that
> case??
> I would say they are useless/not used.

MinSpareThreads/MaxSpareThreads are used to determine when new processes
should be spawned.  Basically, we look at those values, and multiple by
the number of currently active processes.  Then we count the number of
active threads.  Then we compare the two values.  Just because threads are
static per child, they are still idle or busy.

Ryan

_______________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------

Reply via email to