|
|
f65af0 |
From bf539f80ed34c30bc852a6061ce6444c5c308a26 Mon Sep 17 00:00:00 2001
|
|
|
979ee0 |
From: Christian Heimes <cheimes@redhat.com>
|
|
|
979ee0 |
Date: Mon, 25 Jun 2018 10:59:18 +0200
|
|
|
979ee0 |
Subject: [PATCH] Use 4 WSGI workers on 64bit systems
|
|
|
979ee0 |
|
|
|
979ee0 |
Commit f1d5ab3a03191dbb02e5f95308cf8c4f1971cdcf increases WSGI worker
|
|
|
979ee0 |
count to five. This turned out to be a bit much for our test systems.
|
|
|
979ee0 |
Four workers are good enough and still double the old amount.
|
|
|
979ee0 |
|
|
|
979ee0 |
See: https://pagure.io/freeipa/issue/7587
|
|
|
979ee0 |
Signed-off-by: Christian Heimes <cheimes@redhat.com>
|
|
|
f65af0 |
Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
|
|
|
979ee0 |
---
|
|
|
979ee0 |
ipaplatform/base/constants.py | 2 +-
|
|
|
979ee0 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
979ee0 |
|
|
|
979ee0 |
diff --git a/ipaplatform/base/constants.py b/ipaplatform/base/constants.py
|
|
|
f65af0 |
index 075a3ba774e1286e50258b464bd7687d484f6029..e9ce4378892a5cd498398e37cc52f295608152cd 100644
|
|
|
979ee0 |
--- a/ipaplatform/base/constants.py
|
|
|
979ee0 |
+++ b/ipaplatform/base/constants.py
|
|
|
f65af0 |
@@ -46,7 +46,7 @@ class BaseConstantsNamespace(object):
|
|
|
f65af0 |
MOD_WSGI_PYTHON3 = None
|
|
|
979ee0 |
# WSGIDaemonProcess process count. On 64bit platforms, each process
|
|
|
979ee0 |
# consumes about 110 MB RSS, from which are about 35 MB shared.
|
|
|
979ee0 |
- WSGI_PROCESSES = 5 if IS_64BITS else 2
|
|
|
979ee0 |
+ WSGI_PROCESSES = 4 if IS_64BITS else 2
|
|
|
f65af0 |
|
|
|
f65af0 |
|
|
|
f65af0 |
constants = BaseConstantsNamespace()
|
|
|
979ee0 |
--
|
|
|
979ee0 |
2.17.1
|
|
|
979ee0 |
|