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

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

 



+1


On 15 March 2017 at 08:47, 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.
>
> +1s?
>
> Tim
>
>
> From 7f3ba1b5294fd91ba60e8d4173f0c20af1e34bf2 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 threads to 20 for resultsdb prod
>
> ---
>  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..99175f7 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 ['prod'] %}
> +WSGIDaemonProcess resultsdb user=apache group=apache threads=20
> +{% else %}
>  WSGIDaemonProcess resultsdb user=apache group=apache threads=5
> +{% endif %}
>  WSGIScriptAlias /{{ resultsdb_endpoint }} /usr/share/resultsdb/resultsdb.wsgi
>  WSGISocketPrefix run/wsgi
>
> --
> 1.8.3.1
>
>
> _______________________________________________
> infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
>



-- 
Stephen J Smoogen.
_______________________________________________
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