summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav Laznicka <slaznick@redhat.com>2016-05-27 14:44:30 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-02 19:26:32 +0200
commit12d8a0cf22a271ff41e02f4bcf862877dd680ae5 (patch)
tree3aebb1baa065b8001abc1cce4112d89c784d5313
parent3076cb9dcc8afc3f7d2525226772f2494b6d2cd5 (diff)
downloadfreeipa-12d8a0cf22a271ff41e02f4bcf862877dd680ae5.tar.gz
freeipa-12d8a0cf22a271ff41e02f4bcf862877dd680ae5.tar.xz
freeipa-12d8a0cf22a271ff41e02f4bcf862877dd680ae5.zip
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 <mbasti@redhat.com> Reviewed-By: Petr Spacek <pspacek@redhat.com>
-rw-r--r--install/conf/ipa.conf3
1 files changed, 2 insertions, 1 deletions
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