[6.0] 18c9e0c24 warning and advise about backend proxy connections
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Aug 16 08:52:39 UTC 2018
commit 18c9e0c247a1b3f6c0921e66e4459353a7f8bce6
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Apr 9 14:23:06 2018 +0200
warning and advise about backend proxy connections
Ref #2622
diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index d2eec3d13..d2263dc37 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -252,6 +252,21 @@ parameters. The following attributes are available:
The PROXY protocol version Varnish should use when connecting to
this backend. Allowed values are ``1`` and ``2``.
+ *Notice* this setting will lead to backend connections being used
+ for a single request only (subject to future improvements). Thus,
+ extra care should be taken to avoid running into failing backend
+ connections with EADDRNOTAVAIL due to no local ports being
+ available. Possible options are:
+
+ * Use additional backend connections to extra IP addresses or TCP
+ ports
+
+ * Increase the number of available ports (Linux sysctl
+ ``net.ipv4.ip_local_port_range``)
+
+ * Reuse backend connection ports early (Linux sysctl
+ ``net.ipv4.tcp_tw_reuse``)
+
``.max_connections``
Maximum number of open connections towards this backend. If
Varnish reaches the maximum Varnish it will start failing
More information about the varnish-commit
mailing list