Varnish returns truncated content

Dridi Boukelmoune dridi at varni.sh
Wed Apr 6 17:54:41 CEST 2016


> Is this a Varnish bug?  Any advice on how to diagnose this further would be
> greatly
> appreciated.

Hi John,

This is not a bug, but probably due to streaming being enabled by
default. Basically the request goes through the VCL successfully, the
curl client gets the headers and then the body is streamed while at
the same time inserted into storage.

But then you get this error:

> -   FetchError     Could not get storage

You can see lots of ExpKill records, which mean that you most likely
hit the nuke_limit (see man varnishd). It means that Varnish stopped
making space for the new object because for that it had to remove too
many objects from the cache. It may happen more frequently when a
storage is mixing large and small objects.

Best Regards,
Dridi



More information about the varnish-misc mailing list