From 3384ff5bdc966d5dc8ced787387e713869428cc6 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 3 Feb 2016 08:27:14 +0000 Subject: [PATCH] Restart bodhi sometimes to prevent memory leak Signed-off-by: Patrick Uiterwijk --- roles/bodhi2/base/templates/bodhi-app.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bodhi2/base/templates/bodhi-app.conf b/roles/bodhi2/base/templates/bodhi-app.conf index c21caa29ec..031ebdf563 100644 --- a/roles/bodhi2/base/templates/bodhi-app.conf +++ b/roles/bodhi2/base/templates/bodhi-app.conf @@ -14,7 +14,7 @@ Alias /static /usr/lib/python2.7/site-packages/bodhi/static/ -WSGIDaemonProcess bodhi user=bodhi group=bodhi display-name=bodhi processes={{wsgi_procs}} threads={{wsgi_threads}} +WSGIDaemonProcess bodhi user=bodhi group=bodhi display-name=bodhi processes={{wsgi_procs}} threads={{wsgi_threads}} max-requests=1000 WSGISocketPrefix run/wsgi WSGIRestrictStdout On WSGIRestrictSignal Off