Change worker processes to be auto set based on CPU count
Fixes https://jira.coreos.com/browse/QS-109
This commit is contained in:
parent
82db86ad3f
commit
9f996a8745
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
pid /tmp/nginx.pid;
|
||||
error_log /dev/stdout;
|
||||
|
||||
worker_processes 2;
|
||||
worker_processes auto;
|
||||
worker_priority -10;
|
||||
worker_rlimit_nofile 10240;
|
||||
|
||||
|
|
Reference in a new issue