<div dir="ltr"><div><div><div><div>So, I have backends which are occasionally slow. So varnish responds with a 503 error.<br><br></div>How can I determine WHICH backend was used, which failed to respond in a timely manner?<br>
<br></div>In varnishlog, I see errors like the following:<br><br> 180 FetchError c http first read error: -1 11 (Resource temporarily unavailable)<br><br></div>Reading the code, the -1 SEEMS to indicate that the backend closed the connection on this error. vcl_error doesn't give me access to beresp variables (like <a href="http://beresp.backend.name">beresp.backend.name</a> or IP, which would answer the question). <a href="https://www.varnish-cache.org/docs/3.0/reference/vcl.html#variables">This indicates that obj.* does NOT include a backend indication...</a> <br>
<br></div><div>Any way I can figure out which backend is failing me?<br></div><div><br></div>--Jason<br></div>