# Tweaking nginx workers nice values

**URL:** <https://www.ruby-forum.com/t/tweaking-nginx-workers-nice-values/207677>\
**Category:** NGINX\
**Created:** [May 31, 2011, 3:05pm UTC](https://www.ruby-forum.com/t/tweaking-nginx-workers-nice-values/207677 "2011-05-31T15:05:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [May 31, 2011, 3:05pm UTC](https://www.ruby-forum.com/t/tweaking-nginx-workers-nice-values/207677/1 "2011-05-31T15:05:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 31, 2011, 3:27pm UTC](https://www.ruby-forum.com/t/tweaking-nginx-workers-nice-values/207677/2 "2011-05-31T15:27:35Z")

</div>

ah, discovered worker\_priority variable 🙂

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 31, 2011, 4:26pm UTC](https://www.ruby-forum.com/t/tweaking-nginx-workers-nice-values/207677/3 "2011-05-31T16:26:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 31, 2011, 4:28pm UTC](https://www.ruby-forum.com/t/tweaking-nginx-workers-nice-values/207677/4 "2011-05-31T16:28:09Z")

</div>

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

> ah, discovered worker\_priority variable 🙂

This is not variable. This is a directive.

–  
Igor S.
