From a8d6a952973c7d8ef50341b3833cc54c38d36db5 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Sun, 8 Nov 2015 10:05:36 -0500 Subject: [PATCH] Drop uwsgi process to 2 We are still working on tuning the system. Currently 4 processes causes us to use swap on 15GB of RAM, dropping it to 2 should help. Change-Id: I0638a6709f6454f6336d70112f02fd7504a376c5 Signed-off-by: Paul Belanger --- files/uwsgi.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/uwsgi.ini b/files/uwsgi.ini index ba00037..6912ae2 100644 --- a/files/uwsgi.ini +++ b/files/uwsgi.ini @@ -4,6 +4,6 @@ gid = stackalytics socket = 127.0.0.1:3031 pythonpath = /usr/local/lib/python2.7/dist-packages module = stackalytics.dashboard.web:app -processes = 4 +processes = 2 threads = 1 stats = 127.0.0.1:9191