Varnish storage

Wido den Hollander wido at
Thu Dec 2 11:16:07 CET 2010


I would use malloc: -s malloc,200G

Then create a SWAP partition of 300GB on your 500GB disk and add it as

The kernel will then take care of the rest.


On Thu, 2010-12-02 at 09:59 +0000, linuxsupport wrote:
> Hi,
> I am new to Varnish, I like the features, currently I am testing it on
> development environment.
> We have 800+ web site so huge contents. I have 500Gb storage and 24 GB
> memory on each server total 3 servers - Dual Quad Core Xeon.
> Can I use 20 GB of memory and 500 GB of disk as cache storage? (ie. -s
> malloc,20G -s file,/lv2/v_cache/varnish_storage.bin
> Does Both memory and file storage work together?
> Is it good idea to have single file of 500GB for  cache? or should I
> split it as 500/3? ( In know Varnish does not pre allocate the space).
> Thanks
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at

More information about the varnish-misc mailing list