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