]> err.no Git - varnish/commit
Varnish 2.0 bonus feature #1: backend->max_connections
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 26 Aug 2008 19:59:23 +0000 (19:59 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 26 Aug 2008 19:59:23 +0000 (19:59 +0000)
commit5fcd02f28b10814318ced8954693c4c155c679ac
tree02d3a919f45aab63741abf12c8e7b971abe1ab2f
parent390ebf1a1aacbab052072e13d7c8b2eb1fd74dfd
Varnish 2.0 bonus feature #1:  backend->max_connections

        backend default {
                .host = "127.0.0.1";
                .port = "9080";
                .max_connections = 100;
        }

will limit the simultaneous TCP connections to this backend to 100.

Stats counter backend_busy == "Backend connections too many" tells
how often we have hit this limit for a backend.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3135 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_backend.c
varnish-cache/bin/varnishd/cache_backend.h
varnish-cache/bin/varnishd/cache_backend_cfg.c
varnish-cache/bin/varnishtest/tests/v00012.vtc [new file with mode: 0644]
varnish-cache/include/stat_field.h
varnish-cache/include/vrt.h
varnish-cache/lib/libvcl/vcc_backend.c
varnish-cache/lib/libvcl/vcc_fixed_token.c