In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>Im testing directors in varnish 2.0 beta 2 with two backends.
>
>The thing is that only one machine is getting all the traffic when
>using random directors and .weight = 1 on both backends.

This could be because Varnish manages to reuse the connection to the
backend so it never needs to choose backend server.

To test this hypothesis:  disable keepalive on the backend.

If that is inconvenient or unpractical, set a "Connection: close"
header in vcl_miss/vcl_pass/vcl_pipe.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to