Could not get storage

marco at nucleus.it marco at nucleus.it
Mon Dec 1 11:08:48 CET 2014


With varnish-3.0.5 i setup some files (like pdf) to not be saved to
cache with hit_for_pass and serve them directly to the client.

Sometimes i have "FetchError? c Could not get storage" error when
Varnish can't free enought space from storage backend.

The question is : Why Varnish try to save the object in the cache even
if i set it with hit_for_pass to don't do that ?

   17 Hash         c /test.pdf
   17 Hash         c www.mytest.it
   17 VCL_return   c hash
   17 VCL_call     c pass pass
   17 Backend      c 30 mytest mytest
   17 TTL          c 830726718 RFC 0 -1 -1 1417425694 0 1417425693
   280299600 0 17 VCL_call     c fetch
   17 TTL          c 830726718 VCL 604800 -1 -1 1417425694 -0
   17 TTL          c 830726718 VCL 604800 86400 -1 1417425694 -0
   17 VCL_return   c hit_for_pass
   17 ObjProtocol  c HTTP/1.1
   17 ObjResponse  c OK
   17 ObjHeader    c Date: Mon, 01 Dec 2014 09:21:33 GMT
   17 ObjHeader    c Server: Apache/2.2.22 (Linux/SUSE)
   17 ObjHeader    c X-Powered-By: PHP/5.3.15
   17 ObjHeader    c Last-Modified: Mon, 01 Dec 2014 09:21:33 GMT
   17 ObjHeader    c ETag: "1417425693"
   17 ObjHeader    c Content-Length: 5866600
   17 ObjHeader    c Content-Type: application/pdf
   17 FetchError   c Could not get storage
   17 VCL_call     c error

-- 
----
  Cordiali saluti
    Marco Felettigh
    Nucleus S.r.l.
    Tel. 0432526336



More information about the varnish-misc mailing list