varnish not reponds after one of backends death

Renatas Ulevičius renatas.ulevicius at etalink.lt
Fri Jul 25 13:45:09 CEST 2008


vcl is attached. IF I corectly understand all threads are waiting from dead hosts reponse and there is no free threads. I not able to find thread timeout value parameter



backend php5 {
  set backend.host = "192.168.0.5"; 
  set backend.port = "80"; 
}

backend php4 {
 set backend.host= "192.168.0.10";
  set backend.port = "80";
}         

 sub vcl_recv {
 
          if (req.http.host ~  "^((www.)?xxxxxxxxxxx.com)$")   {
                                      set req.backend = php4;
              } 
              else{
                 set req.backend=php5; 
              }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-bugs/attachments/20080725/308c83c2/attachment.html>


More information about the varnish-bugs mailing list