You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Campbell, Lance" <la...@illinois.edu> on 2018/08/24 19:59:12 UTC
[users@httpd] Enhancement Request
Apache
MPM Workers
REQUEST:
Please change your worker parameter naming convention in regards to MAX.
Example:
Parameter1
MaxParameter1
Parameter2
MaxParameter2
Why? I completely misunderstood the difference between ThreadLimit and ThreadsPerChild. I have wasted over 8 hours researching the difference.
Try this out:
ThreadsPerChild 32
MaxThreadsPerChild 40
It is obvious what the relationship is between parameters with and without the prefix “max”. Compare these ThreadLimit and ThreadsPerChild. Following my proposed standard makes the relationship obvious.
Thanks
Lance
[users@httpd] Re: Enhancement Request
Posted by Christophe JAILLET <ch...@wanadoo.fr>.
Le 24/08/2018 à 21:59, Campbell, Lance a écrit :
>
> Apache
>
> MPM Workers
>
> REQUEST:
>
> Please change your worker parameter naming convention in regards to MAX.
>
> Example:
>
> Parameter1
>
> MaxParameter1
>
> Parameter2
>
> MaxParameter2
>
> Why? I completely misunderstood the difference between ThreadLimit
> and ThreadsPerChild. I have wasted over 8 hours researching the
> difference.
>
> Try this out:
>
> ThreadsPerChild 32
>
> MaxThreadsPerChild 40
>
> It is obvious what the relationship is between parameters with and
> without the prefix “max”. Compare these ThreadLimit and
> ThreadsPerChild. Following my proposed standard makes the
> relationship obvious.
>
> Thanks
>
> Lance
>
I agree that the naming can be surprising, but
https://httpd.apache.org/docs/2.4/en/mod/mpm_common.html#threadlimit is,
IMHO, clear enough.
A similar explanation should be added in
https://httpd.apache.org/docs/2.4/en/mod/mpm_common.html#threadsperchild
to help figure out the relationship between these 2 directives.
CJ