Sticky Load Balancing with Varnish - sick backends

Wido den Hollander wido at
Thu Jan 20 14:59:09 CET 2011


On Thu, 2011-01-20 at 14:51 +0100, Soesoe wrote:
> Hello everybody,
> we tried to enable "Sticky Load Balancing" with varnish 2.0.6 like
> this
> thread:

Any particular reason why you are still using 2.0.6?

> But changed a custom cookie to the JSESSION Cookie from Tomcat and
> select the right backend via the jvmrout of the session:
> works fine - if the selected backend doesn't go sick.
> if the selected backend gos sick, varnish tries to choose still the
> sick backend
> or sends an error 503 -

Correct, since you specify that you want to use that backend.

> to you have any hints for me?
> Thanks Soeren

Yes, my advice is to upgrade to at least Varnish 2.1.3 and use the
client director:


More information about the varnish-misc mailing list