diff options
| author | Miroslav Suchý <msuchy@redhat.com> | 2014-01-23 12:13:03 +0000 |
|---|---|---|
| committer | Miroslav Suchý <msuchy@redhat.com> | 2014-01-23 12:13:11 +0000 |
| commit | 3b4edc4adef1275fa0a335d8a29ef67d1107d822 (patch) | |
| tree | 97533c444b27118244e5fa047833231ee89f3007 | |
| parent | a692918cbb40c91be103e4efc71bdeb14ab6adb2 (diff) | |
fine tune SpareServers on copr-fe and allow server-status
so I can see what is happening there
| -rw-r--r-- | files/copr/copr-be.conf | 2 | ||||
| -rw-r--r-- | files/copr/fe/httpd/coprs.conf | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/files/copr/copr-be.conf b/files/copr/copr-be.conf index 680579b3a..2c159cb99 100644 --- a/files/copr/copr-be.conf +++ b/files/copr/copr-be.conf @@ -35,7 +35,7 @@ destdir=/var/lib/copr/public_html/results sleeptime=30 # default is 8 -num_workers=5 +num_workers=8 # path to log file # default is /var/log/copr/backend.log diff --git a/files/copr/fe/httpd/coprs.conf b/files/copr/fe/httpd/coprs.conf index bb0502c5f..0cd63ea14 100644 --- a/files/copr/fe/httpd/coprs.conf +++ b/files/copr/fe/httpd/coprs.conf @@ -43,3 +43,22 @@ WSGISocketPrefix /var/run/wsgi Require all granted </Directory> </VirtualHost> + +<IfModule mod_status.c> +ExtendedStatus On + +<Location /server-status> + SetHandler server-status + Require all denied + Require host localhost .redhat.com +</Location> +</IfModule> + +<IfModule mpm_prefork_module> + StartServers 8 + MinSpareServers 8 + MaxSpareServers 20 + MaxClients 50 + MaxRequestsPerChild 10000 +</IfModule> + |
