Varnish storage

linuxsupport lin.support at gmail.com
Thu Dec 2 11:44:55 CET 2010


OK, Can I make the swap partition of 500G?

I also want to confirm if using 500G swap partition for cache is good? or
spiting is needed?

Aniruddh

On Thu, Dec 2, 2010 at 10:16 AM, Wido den Hollander <wido at widodh.nl> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20101202/c38e64cb/attachment-0003.html>


More information about the varnish-misc mailing list