httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Scoreboard and configuration question
Date Thu, 30 Sep 2010 22:00:25 GMT
On Thu, Sep 30, 2010 at 4:32 PM, David Dabbs <dmdabbs@gmail.com> wrote:
>
>
>> -----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?
>

Sorry, I would think 8192 would be expected with ThreadLimit 128 and
your current ServrLimit.  But you didn't have a ThreadLimit in your
stanza, and the default is only 64.

>
>> 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?

If you can tolerate having them all running at low load, you can set
it equal to MaxClients and they won't be killed off ever.

---------------------------------------------------------------------
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