varnishsizes fails to display big files

Jordi Prats jordi.prats at
Mon May 12 14:20:26 CEST 2014

varnishsizes seems to fail to represent big files.

I created a several test files to verify it:

-rw-r--r-- 1 root root  100M May 12 13:53 100m
-rw-r--r-- 1 root root   10M May 12 13:43 10m
-rw-r--r-- 1 root root 1000M May 12 13:55 1g
-rw-r--r-- 1 root root  1.0M May 12 13:42 1m

The 1M file appears at 1e6 in the horitzontal axis, the 10M file at 1e7 and
the 100M at 1e8, but the 1G file does not modify the scale (1:1), getting
this hit between 1e2 and 1e3

This seems to be a bug, anyone with the same problem?

It's a varnish 3 installation in a ubuntu server:

[jprats at croscat ~]$ varnishsizes -V
varnishsizes (varnish-3.0.5 revision 1a89b1f)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2011 Varnish Software AS

[jprats at croscat ~]$ dpkg -l varnish
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version
ii  varnish                         3.0.5-1~precise                 state
of the art, high-performance web accelerator

best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list