From 727a6f75fbcf2ec0c4f2d4e4fa093c14bdde8069 Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Wed, 15 Mar 2017 12:44:14 +0000 Subject: [PATCH] bumping wsgi daemon to 100 thread, 5 processes in resultsdb prod, stg --- roles/taskotron/resultsdb-backend/templates/resultsdb.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/taskotron/resultsdb-backend/templates/resultsdb.conf.j2 b/roles/taskotron/resultsdb-backend/templates/resultsdb.conf.j2 index b8d6f3ef62..97e73b9f9c 100644 --- a/roles/taskotron/resultsdb-backend/templates/resultsdb.conf.j2 +++ b/roles/taskotron/resultsdb-backend/templates/resultsdb.conf.j2 @@ -1,4 +1,8 @@ +{% if deployment_type in ['stg', 'prod'] %} +WSGIDaemonProcess resultsdb user=apache group=apache threads=100 processes=5 +{% else %} WSGIDaemonProcess resultsdb user=apache group=apache threads=5 +{% endif %} WSGIScriptAlias /{{ resultsdb_endpoint }} /usr/share/resultsdb/resultsdb.wsgi WSGISocketPrefix run/wsgi