httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Campbell, Lance" <la...@illinois.edu>
Subject [users@httpd] MPM worker - ThreadLimit and ThreadsPerChild
Date Fri, 24 Aug 2018 19:42:18 GMT
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
Mime
View raw message