MPM worker - ThreadLimit and ThreadsPerChild

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

 



Apache 2.4

MPM Worker

The relationship between ThreadLimit and ThreadsPerChild is not very clear.  These are some questions I have. 

 

  1. Why would you ever want ThreadLimit bigger than ThreadsPerChild? 
  2. If you do want it bigger then how do you determine how much bigger it should be?
  3. If ThreadLimit is bigger than ThreadsPerChild should you then use ThreadLimit instead of ThreadsPerChild to calculate the ServerLimit?

 

#3 Example:

Normally ServerLimit = MaxRequestWorkers divided by ThreadsPersChild

If ThreadLimit is larger than ThreadsPerChild then should you do this:

ServerLimit = MaxRequestWorkers divided by ThreadLimit

 

Thanks,

 

Lance


[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