httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: MPM sizing defaults and config
Date Tue, 15 Jun 2010 21:20:14 GMT

----- "William A. Rowe Jr." <wrowe@rowe-clan.net> wrote:

> As a broad general question - why not equivalent number of MaxClients
> across all MPMs?

Because it might come expensive Memory-wise with some MPMs.

> On 6/15/2010 4:03 PM, Rainer Jung wrote:
> > The default configuration for various MPMs
> > differs from the example configuration file
> > conf/extra/httpd-mpm.conf.
> > 
> > Before bringing those two in sync, I want
> > to propose the values we want to use as new
> > defaults as well as for the extras configuration
> > file.
> > 
> > Prefork
> > =======            conf  default   proposed
> > StartServers          5        5          5
> > MinSpareServers       5        5          3
> > MaxSpareServers      10       10         15
> > MaxClients          150      256        256
> > MaxRequestsPerChild   0    10000          0
> 
> This seems bursty - can't we raise MaxSpare to at least 50?

Not entirely sure how it makes sense to Start 5 but
only keep MinSpareServers 3, would you enlighten me please?

> > Worker/Event
> > ============       conf  default   proposed
> > StartServers          2        3          2
> > MinSpareThreads      25       75         25
> > MaxSpareThreads      75      250        100
> > MaxClients          150      400        400
> > ThreadsPerChild      25       25         25
> > MaxRequestsPerChild   0    10000          0
> 
> If threaded, and stable, why not some 50 or 100 threads per child?

For preforking/hybrinds I'd set StartServers/MinSpareServers
to $num CPU Cores (not threads!)

So long,
-- 
Igor Galić

Tel: +43 (0) 699 122 96 338
Fax: +43(0) 1 91 333 41
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

Mime
View raw message