[Varnish] #992: s_bodybytes increased by storage-size not sent size

Varnish varnish-bugs at varnish-cache.org
Mon Aug 29 13:03:14 CEST 2011

#992: s_bodybytes increased by storage-size not sent size
 Reporter:  kristian  |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  minor     |    Keywords:       
 With GZIP enabled, the content is stored gzipped.

 When a gzipped object is delivered, the s_bodybytes counter is increased
 by the size of the object. However, if Varnish is gunzipping the object on
 the fly, s_bodybytes is still increased as if it was sent gzipped.

 This is most prominent when testing with large, sparse 0'ed-files, where
 24 requests of 5GB of data can be counted as a few hundred MB.

Ticket URL: <http://www.varnish-cache.org/trac/ticket/992>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list