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

Re: [users@httpd] MPM worker - ThreadLimit and ThreadsPerChild

On Fri, Aug 24, 2018 at 3:42 PM Campbell, Lance <lance@xxxxxxxxxxxx> wrote:
> Apache 2.4
> MPM Worker
> The relationship between ThreadLimit and ThreadsPerChild is not very clear.  These are some questions I have.
> Why would you ever want ThreadLimit bigger than ThreadsPerChild?
Obscure: So you can raise ThreadsPerChild during a graceful restart

> If you do want it bigger then how do you determine how much bigger it should be?
Just by how much you'd do the above.

> If ThreadLimit is bigger than ThreadsPerChild should you then use ThreadLimit instead of ThreadsPerChild to calculate the ServerLimit?
Yes, but in practice you just don't need a ThreadLimit higher than


I would say decide on MaxRequestWorkers first. Then decide on the mix
between threads and processes you want (ThreadsPerChild) which then
dictates both ThreadLimit and ServerLimit.

To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx