503s for a non-cached host / Re: [SOLVED] Varnish stops waiting backend after 1 second
Geoff Simmons
geoff at uplex.de
Fri May 13 10:12:07 CEST 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 05/13/2016 09:48 AM, Garau Simone wrote:
>
> I still have an issue I can’t understand: I get some random 503
> from the backend where Varnish isn’t caching. After a couple of
> refresh of the page is properly served.
>
> The Apache logs shows no activity when Varnish sends a 503, like
> Varnish doesn’t send the request.. Or why isn’t Apache logging?
> * << BeReq >> 1115881
[..]
> - Timestamp Bereq: 1463124821.994727 0.000229 0.000229 -
> FetchError http first read error: EOF - BackendClose 46
> boot.default - Timestamp Beresp: 1463124826.994768 5.000270
> 5.000041
FetchError is the critical log entry for a 503 error, and in this case
there was a failure reading the first bytes of the backend response
after very close to 5 seconds.
Looks very much like first_byte_timeout=5s elapsed. Varnish could also
do that on a connection reset, meaning that the connection was closed
by the backend or an intervening network component -- the latter might
explain why Apache doesn't seem to receive the request.
Since the time difference in the Beresp Timestamp is so close to
exactly 5 seconds, I'd suspect that some component has hit a timeout.
HTH,
Geoff
- --
** * * UPLEX - Nils Goroll Systemoptimierung
Scheffelstraße 32
22301 Hamburg
Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753
http://uplex.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXNYxXAAoJEOUwvh9pJNURUIEP/RYgf223+oUrNe2ZLzwMdDE2
QGkrNNSQY6CleVW+lgIW2Y1gYZVUXsRaRP2qVwZVld6iTizVFiMFKP1ojQAhbWph
17k+JqVby2oggs2lRChFyWRpkwZigeMJmgopGTE3HJfm5Bhn1uY/qrCSHhQsxpRJ
h63Cs6J0mlIoJREIAXxVBK0YS5LH/uoAjWemhtNksADCyir32uyxY2rREn7K7j8Q
x/owTz9O76s2Xc1URk2DxhOk16k59AbfkwQSrFfBMubHhpa1wPXxXEUXnx4IKkTJ
3UDyXMK42vqiiZcECC2+Qgku9C4flxP+tCsIcKNTnYCya/rFKr7EesMx0UNUaLMX
AesdDVDZRunIjZQM5B6yJePCE2eBxSsXZTXpwOthxo/p7D4aZGnaNqaS1zqcjDMO
WvrVhWv76Nyq/OKZvuNjDRHxles2y5cNbjwOWGIrmvepSFbRgvQolc9JhXwIn3b9
mGwxGUA8n8oAhpPaYpWrJPnYW12lQuqcBJZGQBR0wjDgHNR9VmimB9UtAvSSI4nO
ipwWjSH7LEhhv5k+Ao0o/bjZpadZA7F23L3onHxqI8+bBy3u+p0ul9wQr+Z5+Y+U
i7kGbmPNOPgtvhfoV/84ax3YfsTp9fZBE07rk47s3iDhkwFcSZTIzmx0X8rt1Mxn
6nPvnDlUbL5F8VnE7YJN
=3nFf
-----END PGP SIGNATURE-----
More information about the varnish-misc
mailing list