Fix large number of nginx worker issue

Override nginx "worker-processes" setting in ingress controller.
Default value is changed from auto to 4 to reduce memory
consumption by nginx worker processes. 4 worker can give 2 per
platform CPU (in AIO) to avoid blocking all users in case that
part of workers are blocked.
The static override is done in the Armada manifest.

Closes-Bug: #1823803
Change-Id: I1f92cf0c3fdfde41364abe65e4747d2091c4c3ea
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
This commit is contained in:
Yi Wang 2019-05-16 15:26:57 +08:00
parent f212a7ee5f
commit f6e7130cab
1 changed files with 6 additions and 0 deletions

View File

@ -52,6 +52,9 @@ data:
anti:
type:
default: requiredDuringSchedulingIgnoredDuringExecution
conf:
ingress:
worker-processes: '4'
source:
type: tar
location: http://172.17.0.1/helm_charts/ingress-0.1.0.tgz
@ -97,6 +100,9 @@ data:
anti:
type:
default: requiredDuringSchedulingIgnoredDuringExecution
conf:
ingress:
worker-processes: '4'
source:
type: tar
location: http://172.17.0.1/helm_charts/ingress-0.1.0.tgz