From 12d8a0cf22a271ff41e02f4bcf862877dd680ae5 Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Fri, 27 May 2016 14:44:30 +0200 Subject: Increased mod_wsgi socket-timeout Longer-running CLI commands sometimes fail with "gateway time out" although the task still runs and finishes on server, not notifying the CLI back. Increasing socket-timeout should solve this. https://fedorahosted.org/freeipa/ticket/5833 Reviewed-By: Martin Basti Reviewed-By: Petr Spacek --- install/conf/ipa.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/conf/ipa.conf b/install/conf/ipa.conf index cf10fc815..c6457485a 100644 --- a/install/conf/ipa.conf +++ b/install/conf/ipa.conf @@ -41,7 +41,8 @@ WSGISocketPrefix /run/httpd/wsgi # Configure mod_wsgi handler for /ipa -WSGIDaemonProcess ipa processes=2 threads=1 maximum-requests=500 display-name=%{GROUP} +WSGIDaemonProcess ipa processes=2 threads=1 maximum-requests=500 \ + display-name=%{GROUP} socket-timeout=2147483647 WSGIImportScript /usr/share/ipa/wsgi.py process-group=ipa application-group=ipa WSGIScriptAlias /ipa /usr/share/ipa/wsgi.py WSGIScriptReloading Off -- cgit