From 497baceeef846d7d28699ceebf949ed7dff93f91 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sat, 11 Jan 2020 13:19:32 +0100 Subject: [PATCH] copr: fe: restart default WSGIDaemonProcess each 5mins --- roles/copr/frontend-cloud/templates/httpd/coprs.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/frontend-cloud/templates/httpd/coprs.conf b/roles/copr/frontend-cloud/templates/httpd/coprs.conf index 0a1cdfef02..27b4200e42 100644 --- a/roles/copr/frontend-cloud/templates/httpd/coprs.conf +++ b/roles/copr/frontend-cloud/templates/httpd/coprs.conf @@ -3,7 +3,7 @@ WSGISocketPrefix /var/run/wsgi Alias /robots.txt /var/www/html/robots.txt Alias "/db_dumps/" "/var/www/html/db_dumps/" -WSGIDaemonProcess 127.0.0.1 user=copr-fe group=copr-fe processes=4 threads=5 display-name=other maximum-requests=8000 graceful-timeout=20 +WSGIDaemonProcess 127.0.0.1 user=copr-fe group=copr-fe processes=4 threads=5 display-name=other maximum-requests=8000 restart-interval=300 graceful-timeout=20 WSGIDaemonProcess api user=copr-fe group=copr-fe threads=15 display-name=api maximum-requests=8000 graceful-timeout=20 WSGIDaemonProcess backend user=copr-fe group=copr-fe threads=15 display-name=backend maximum-requests=8000 graceful-timeout=20 WSGIDaemonProcess stats user=copr-fe group=copr-fe threads=15 display-name=stats maximum-requests=8000 graceful-timeout=20