Tweaking nginx workers nice values

Is it possible to set the nice values for nginx worker processes, the
main processs can be tweaked easily… but I’d like to tweak the worker
processes too…

Thanks.

ah, discovered worker_priority variable :slight_smile:

On Wed, Jun 01, 2011 at 01:04:34AM +1200, Ryan B wrote:

Is it possible to set the nice values for nginx worker processes, the
main processs can be tweaked easily… but I’d like to tweak the worker
processes too…

worker_priority -10;


Igor S.

On Wed, Jun 01, 2011 at 01:27:07AM +1200, Ryan B wrote:

ah, discovered worker_priority variable :slight_smile:

This is not variable. This is a directive.


Igor S.