You should see this value as "Backend" in your varnishlog output. It should
be right above the FetchError line you posted.


On Thu, Jan 16, 2014 at 3:38 PM, Jason Price <[email protected]> wrote:

> So, I have backends which are occasionally slow.  So varnish responds with
> a 503 error.
>
> How can I determine WHICH backend was used, which failed to respond in a
> timely manner?
>
> In varnishlog, I see errors like the following:
>
>   180 FetchError   c http first read error: -1 11 (Resource temporarily
> unavailable)
>
> 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 beresp.backend.name or IP, which would answer the
> question).  This indicates that obj.* does NOT include a backend
> indication...<https://www.varnish-cache.org/docs/3.0/reference/vcl.html#variables>
>
> Any way I can figure out which backend is failing me?
>
> --Jason
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Stephen Wood
www.heystephenwood.com
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to