Size a file backed cache

Sean Allen sean at
Tue Apr 9 21:05:53 CEST 2013

I know when using malloc storage, that we end up based on our object size,
about another 100% percent memory to store additional booking info. So
where we have a

-s malloc, 6g

We need a total of 12g available to the OS.

If I switch to

-s file, 10g

Do I need 20g of HD space available on that drive?
I'm unclear how the issues with malloc map to file storage backend.
For example, why does file default to 50% sizing of the volume?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list