Re: Scoreboard and configuration question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 30, 2010 at 4:32 PM, David Dabbs <dmdabbs@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux