OSDir


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

[users@httpd] MPM worker - ThreadLimit and ThreadsPerChild


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