What limits the varnish_storage.bin size?

Lars Jørgensen lajo at kb.dk
Thu Aug 11 09:58:25 CEST 2011

Hi Kurt,

Are you on a 32bit OS?


From: varnish-misc-bounces at varnish-cache.org [mailto:varnish-misc-bounces at varnish-cache.org] On Behalf Of Kurt Kraut
Sent: Wednesday, August 10, 2011 8:50 PM
To: varnish-misc at varnish-cache.org
Subject: What limits the varnish_storage.bin size?


I've been using to different CentOS servers to run varnish and to load balance to the same backends. I'm using the file cache, not malloc. I've found something odd:

root at s2-ul [~]# du /var/lib/varnish/varnish_storage.bin
2099200    /var/lib/varnish/varnish_storage.bin

admin at s4-ul [~]# du /var/lib/varnish/varnish_storage.bin
2099200    /var/lib/varnish/varnish_storage.bin

Both storage files in these two servers have the precise same size in bytes. But I'm running varnish to use 100GB of storage:

/usr/sbin/varnishd -P /var/run/varnish.pid -a :80 -f /etc/varnish/default.vcl -T<> -t 900 -w 1,1000,120 -u varnish -g varnish -S /etc/varnish/secret -s file,/var/lib/varnish/varnish_storage.bin,100G

What am I missing? What else would limit varnish_storage.bin to this specific size?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110811/637d5981/attachment-0003.html>

More information about the varnish-misc mailing list