]> err.no Git - varnish/commit
Snapshot the backend polling code without the advanced math.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 12 Aug 2008 12:57:00 +0000 (12:57 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 12 Aug 2008 12:57:00 +0000 (12:57 +0000)
commit00beba687d7f175eeaf351f485e310dcd4a355a9
tree4b93bfbb99c628b807a3a47fcbe73fbfa773a776
parent67760f9c63fa13e334e52357a028144098238c26
Snapshot the backend polling code without the advanced math.

Presently we only record th state of the last 64 tries to poll the
backend in a shift register, which can be show with the interrim
CLI command "debug.health":

Health stats for backend b0
Oldest __________________________________________________ Newest
4444444444444444444444444444444444444444444444444444444444444444 Good IPv4
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Good Xmit
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS Good Shut
RR-RR-R-RRRR---RR-RR-R-R-R-R-R-RRRR-RR-----RR--RRRR--RRR-R-----R Good Recv

More to follow.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3084 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_backend_poll.c
varnish-cache/bin/varnishd/cache_main.c