Varnish storage

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


Hi,

I would use malloc: -s malloc,200G

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

The kernel will then take care of the rest.

Wido

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 varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc





More information about the varnish-misc mailing list