[master] cc5acbf Expand on closing of idle backend connections.

Lasse Karstensen lkarsten at varnish-software.com
Wed Sep 9 14:23:26 CEST 2015


commit cc5acbfcba0a1d40c1257c39a4e5d90389ed0c38
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Wed Sep 9 14:22:59 2015 +0200

    Expand on closing of idle backend connections.

diff --git a/doc/sphinx/whats-new/changes.rst b/doc/sphinx/whats-new/changes.rst
index b71cc85..0c8028b 100644
--- a/doc/sphinx/whats-new/changes.rst
+++ b/doc/sphinx/whats-new/changes.rst
@@ -105,6 +105,18 @@ TCP to fetch resources. More details in the :ref:`ref-writing-a-director`
 documentation.
 
 
+Backend connection timeout
+==========================
+
+Backend connections will now ble closed by Varnish after `backend_idle_timeout`
+seconds of inactivity.
+
+Previously they were kept around forever and the backend servers would close
+the connection without Varnish noticing it. On the next traffic spike needing
+these extra backend connections, the request would fail, perhaps multiple
+times, before a working backend connection was found/created.
+
+
 Surrogate keys
 ==============
 
@@ -125,7 +137,5 @@ Other noteworthy small changes
 
 * Varnish will now use the ``stale-while-revalidate`` defined in RFC5861
   to set object grace time.
-* Varnish will now discard remaining/older open backend connections when
-  a failing connection is found.
 * -smalloc storage is now recommended over -sfile on Linux systems.
 



More information about the varnish-commit mailing list