Alexandros Kosiaris has submitted this change and it was merged.

Change subject: etherpad: set proxy-initial-not-pooled
......................................................................


etherpad: set proxy-initial-not-pooled

etherpad-lite often closes the pooled connection after the connection
check done by apache but before data is sent by the proxy to the backend
causing:

AH01102: error reading status line from remote server

errors being logged. Set proxy-initial-not-pooled to avoid having apache
use pooled connections to the etherpad backend. This may degrade
performance a bit but might resolve problems experienced with etherpad
in production

While at it, kill the unnecessary ProxyPreserveHost on as it offers no
advantage in this case

Change-Id: I05914336f969e479a5f2789bc8ce4642f351490f
---
M templates/apache/sites/etherpad.wikimedia.org.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved



diff --git a/templates/apache/sites/etherpad.wikimedia.org.erb 
b/templates/apache/sites/etherpad.wikimedia.org.erb
index 4c3c580..6e0db14 100644
--- a/templates/apache/sites/etherpad.wikimedia.org.erb
+++ b/templates/apache/sites/etherpad.wikimedia.org.erb
@@ -13,7 +13,7 @@
     ProxyRequests Off
     ProxyPass / http://<%= @etherpad_ip %>:<%= @etherpad_port %>/ retry=15
     ProxyPassReverse / http://<%= @etherpad_ip %>:<%= @etherpad_port %>/
-    ProxyPreserveHost On
+    Setenv proxy-initial-not-pooled
 
     RewriteCond %{REQUEST_URI} !^/locales/
     RewriteCond %{REQUEST_URI} !^/locales.json

-- 
To view, visit https://gerrit.wikimedia.org/r/232736
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I05914336f969e479a5f2789bc8ce4642f351490f
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to