From 6a3a2a7daa9bfb67915ff01662f42c13e435327f Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 15 Jan 2020 15:15:17 -0500 Subject: [PATCH] Record @jvonau NGINX timeout suggestions for #2063 --- roles/httpd/templates/010-iiab.conf.j2 | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/roles/httpd/templates/010-iiab.conf.j2 b/roles/httpd/templates/010-iiab.conf.j2 index 281cfb49d..6da589413 100755 --- a/roles/httpd/templates/010-iiab.conf.j2 +++ b/roles/httpd/templates/010-iiab.conf.j2 @@ -42,12 +42,18 @@ ServerTokens OS # # 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 ? +# /etc/apache2/apache2.conf +# Let's very soon also raise NGINX default "proxy_read_timeout 60s;" within... +# /etc/nginx/nginx.conf OR... +# /etc/nginx/server.conf OR... +# /etc/nginx/proxy_params AND POSSIBLY ALSO... +# /etc/nginx/conf.d/kiwix-nginx.conf +# These 2 NGINX defaults might also need changing on overtaxed IIAB servers...? +# proxy_connect_timeout 60s; # time to answer the door bell +# proxy_send_timeout 60s; # time to accept the request # More background details on this ongoing Kiwix problem: -# https://github.com/iiab/iiab/pull/2063 -# https://github.com/kiwix/kiwix-tools/issues/345 +# 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