httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Dabbs" <dmda...@gmail.com>
Subject RE: [users@httpd] Scoreboard and configuration question
Date Thu, 30 Sep 2010 20:32:48 GMT


> -----Original Message-----
> From: Eric Covener
> Sent: Thursday, September 30, 2010 3:00 PM
> 
> > Based on the Lines x DotsPerLine, I have 8192 slots.
> > Is that a correct interpretation? How do I reconcile this against
> > my MPM config of MaxClients = 2048?
> >
> > <IfModule mpm_worker_module>
> >    ServerLimit          64
> >    StartServers         32
> >    MaxClients         2048
> >    MinSpareThreads      25
> >    MaxSpareThreads     100
> >    ThreadsPerChild      32
> >    MaxRequestsPerChild   0
> > </IfModule>
> 
> Got ThreadLimit 128 somewhere?  The hardcoded default is 64 for worker.
> 

Sorry, I don’t follow. Why do I need ThreadLimit=128?

 
> ThreadLimit * ServerLimit is the the capacity needed in the scoreboard
> in case you change ThreadsPerChild or MaxClients across a graceful
> restart.
> 
> 
> > Also, I'm seeing httpd processes created and destroyed (in top)
> > more frequently than I would expect. Is there something awry in
> > the config that would cause this to be so?
> 
> MaxSpareThreads if your traffic ebbs and flows
> 

Sorry for being thick again, Eric. Meaning I should raise MaxSpareThreads?


> --
> Eric Covener



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message