What limits the varnish_storage.bin size?

Kurt Kraut listas at kurtkraut.net
Wed Aug 10 20:50:08 CEST 2011


Hi,

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 127.0.0.1:6082 -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/20110810/cc1479a4/attachment-0003.html>


More information about the varnish-misc mailing list