Looks like you are missing healthchecks<div><br></div><div><pre style="overflow-x:auto;overflow-y:auto;padding-top:5px;padding-right:5px;padding-bottom:5px;padding-left:5px;background-color:rgb(255,255,255);color:rgb(34,34,34);line-height:15px;border-top-width:1px;border-bottom-width:1px;border-top-style:solid;border-bottom-style:solid;border-top-color:rgb(170,204,153);border-bottom-color:rgb(170,204,153);border-left-style:none;border-left-width:initial;border-left-color:initial;border-right-style:none;border-right-width:initial;border-right-color:initial">
backend server1 {
.host = "<a href="http://server1.example.com">server1.example.com</a>";
.probe = {
.url = "/";
.interval = 5s;
.timeout = 1 s;
.window = 5;
.threshold = 3;
}
}</pre><br><div class="gmail_quote">On Sun, Mar 11, 2012 at 9:41 PM, Jewel Nuruddin <span dir="ltr"><<a href="mailto:jewel.nuruddin@eastbeam.co.jp">jewel.nuruddin@eastbeam.co.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello<br>I use varnish 3.0.2 and I have tow backend web server by round-robin.<br>I found that my current configuration hit the backend if the backend server is down.<br>I want varnish will not look for backend if the backed is down.<br>
Can some one please help me.<br><br>My current configuration is bellow.<br><br>backend web01 {<br> .host = "10.70.18.10";<br> .port = "8080";<br>}<br><br>backend web02 {<br> .host = "10.70.18.11";<br>
.port = "8080";<br>}<br><br>director web round-robin {<br> {<br> .backend = web01;<br> }<br> {<br> .backend = web02;<br> }<br>}<br><br>sub vcl_recv {<br>
set req.backend = web;<br> }<br><br><br><br><br>
<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br></div>