<div dir="ltr">Hi, everybody!<div><br></div><div>We are using varnish, to cache our website. We are using varnish inside AWS, so we have an ELB with 2 instances (autoscaling) with varnish + nginx. </div><div>Everything is fine, until the backend application has some fails (5xx responses) or timeouts then varnish has much more 5xx responses than the backend.</div><div><br></div><div> For example: If backend respond 300 reqs with 5xx http status, varnish delivers some stale content (thats ok and expected due our vcl config), but the 5xx responses is ten times or more than backend, like 5000.</div><div>I think that the responses from varnish, should be very similar with the backend, right? Why this happens? Where can I look to clarify this? (varnishstat, varnishlog, varnishncsa log and etc). I would appreciate any help. If you need more information about my config, feel free to ask.</div><div><br></div><div>Best regards,</div><div><br></div><div>Erick Faustino  </div></div>