From 9bb420fbc85641d3aa4638e026a6b87319ad7e8c Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 15 Jan 2020 14:50:52 -0500 Subject: [PATCH] Restore Apache's "Timeout 120" to 300 sec default --- roles/httpd/templates/010-iiab.conf.j2 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/roles/httpd/templates/010-iiab.conf.j2 b/roles/httpd/templates/010-iiab.conf.j2 index ef2492c36..281cfb49d 100755 --- a/roles/httpd/templates/010-iiab.conf.j2 +++ b/roles/httpd/templates/010-iiab.conf.j2 @@ -38,7 +38,16 @@ ServerTokens OS # # Timeout: The number of seconds before receives and sends time out. # -Timeout 120 +# Timeout 120 +# +# 2020-01-15: To mitigate the worst of Kiwix search timeouts, let's comment out +# the above "Timeout 120" and defer to Apache default "Timeout 300" as set in +# /etc/apache2/apache2.conf +# Let's also raise NGINX's default "proxy_read_timeout 60s;" somewhere like... +# /etc/nginx/nginx.conf or /etc/nginx/server.conf or /etc/nginx/proxy_params and /etc/nginx/conf.d/kiwix-nginx.conf ? +# More background details on this ongoing Kiwix problem: +# https://github.com/iiab/iiab/pull/2063 +# https://github.com/kiwix/kiwix-tools/issues/345 # # KeepAlive: Whether or not to allow persistent connections (more than