[RFC] Core: worker_processes <= NGX_MAX_PROCESSES

Peter Stadler peter.stadler at student.uibk.ac.at
Tue May 12 16:58:45 UTC 2020


Hello Maxim Dounin,

thank you very much for the fast response. Adopting the value to 
available systems is clearly a solution.

I saw the problem, where NGX_MAX_PROCESSES is patched to 8 when using 
`worker_processes auto;`, and thought it may be good to limit it in all 
cases.

All the best,

Peter


On 12.05.20 15:43, Maxim Dounin wrote:
> Hello!
>
> On Tue, May 12, 2020 at 12:04:58PM +0200, Peter Stadler wrote:
>
>> Would it be advisable to limit the number of worker_processes to
>> NGX_MAX_PROCESSES at least when we have `worker_processes auto;` in the
>> config?
> We've yet to see systems which need this, and if these systems are
> actually available - we may want to bump NGX_MAX_PROCESSES
> instead.
>


More information about the nginx-devel mailing list