mirror of
https://github.com/nextcloud/docker.git
synced 2024-12-25 18:46:14 +01:00
Let nginx decide on number of worker processes (#732)
From https://www.nginx.com/blog/tuning-nginx/: In most cases, running one worker process per CPU core works well, and we recommend setting this directive to auto to achieve that. There are times when you may want to increase this number, such as when the worker processes have to do a lot of disk I/O.
This commit is contained in:
parent
17a6790ac8
commit
53bb46d1dc
7 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
Loading…
Reference in a new issue