mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge pull request #2151 from holta/apache-timeout-120-to-300
Apache timeout 120 to 300 seconds, for Kiwix search proxy timeout failures
This commit is contained in:
		
						commit
						e7b1acf36c
					
				
					 1 changed files with 16 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -38,7 +38,22 @@ 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 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
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# KeepAlive: Whether or not to allow persistent connections (more than
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue