Re: Freeze Break Request: increase threads on resultsdb wsgi daemon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 15, 2017 at 08:42:32AM -0600, Tim Flink wrote:
> On Wed, 15 Mar 2017 06:47:40 -0600
> Tim Flink <tflink@xxxxxxxxxx> wrote:
> 
> > Production resultsdb has started having issues in the last 12 hours or
> > so that appear to be associated with increased load
> > (https://phab.qa.fedoraproject.org/T929).
> > 
> > As a quick patch to keep things running while we investigate more, I
> > changed the resultsdb config on the machine and want to make the
> > corresponding change in git.
> 
> Turns out, that config change wasn't enough so I'm bumping it once more
> before applying it in git and roping stg into the change so that it can
> be tested before deploying to prod.
> 
> Sorry for the quick change like this, can I get +1s again?
> 
> Tim
> 
> 
> From 727a6f75fbcf2ec0c4f2d4e4fa093c14bdde8069 Mon Sep 17 00:00:00 2001
> From: Tim Flink <tflink@xxxxxxxxxxxxxxxxx>
> 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 b8d6f3e..97e73b9 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

Still +1 for me

Pierre

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux