[Varnish] #512: 503 error with load-balancer setup

Varnish varnish-bugs at projects.linpro.no
Thu May 28 01:55:33 CEST 2009


#512: 503 error with load-balancer setup
--------------------------+-------------------------------------------------
 Reporter:  ajung         |        Owner:  phk  
     Type:  defect        |       Status:  new  
 Priority:  high          |    Milestone:       
Component:  varnishd      |      Version:  trunk
 Severity:  major         |   Resolution:       
 Keywords:  Loadbalancer  |  
--------------------------+-------------------------------------------------
Comment (by kb):

 I agree, defaulting to healthy might cause some false-positives, but it
 seems by far the more common case for an accelerator to start (or
 especially in the crash/restart case) with healthy back-ends.

 Perhaps varnish shouldn't listen() until immediate initial probes are sent
 out and evaluated.  The only side-effect would be a ~100ms one-time
 startup delay that's transparent to users.  A load balancer's own health-
 checking would not pass the 503s back to users, but for those without LBs,
 direct to varnish would be a bad experience, IMHO.

 I'd be willing to code it if I could get some pointers in the right
 direction.

 Ken.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/512#comment:3>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list