On Fri, Mar 17, 2017 at 10:26:47AM -0600, Tim Flink wrote:
Production resultsdb_frontend is also really slow and I'd like
to
bump it's resources at the same time I bump resultsdb from the
other FBR.
+1s?
+1
Pierre
From 9757a01edfe14a2455f523d0ac7cb8cfb4e92f8e Mon Sep 17 00:00:00 2001
From: Tim Flink <tflink(a)fedoraproject.org>
Date: Fri, 17 Mar 2017 16:23:12 +0000
Subject: [PATCH 2/2] bump resources for resultsdb_frontend as well
---
.../taskotron/resultsdb-frontend/templates/resultsdb_frontend.conf.j2 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/roles/taskotron/resultsdb-frontend/templates/resultsdb_frontend.conf.j2
b/roles/taskotron/resultsdb-frontend/templates/resultsdb_frontend.conf.j2
index 16fbc89..e71cf58 100644
--- a/roles/taskotron/resultsdb-frontend/templates/resultsdb_frontend.conf.j2
+++ b/roles/taskotron/resultsdb-frontend/templates/resultsdb_frontend.conf.j2
@@ -1,4 +1,8 @@
+{% if deployment_type in ['stg', 'prod'] %}
+WSGIDaemonProcess resultsdb_frontend user=apache group=apache threads=100 processes=10
+{% else %}
WSGIDaemonProcess resultsdb_frontend user=apache group=apache threads=5
+{% endif %}
WSGIScriptAlias /{{ resultsdb_fe_endpoint }}
/usr/share/resultsdb_frontend/resultsdb_frontend.wsgi
WSGISocketPrefix run/wsgi
--
1.8.3.1