Well, varnish documentation tends to kind of suck. The "-s file" does not mean 
persistent storage, but simply that the file will be mmapped, so even if you 
have 2Gb of RAM, you can use a mmapped file of 10Gb. There is a new "-s 
persistence" which is documented for now as "new, shiny, better", you can make 
whatever you want out of that 
(http://www.varnish-cache.org/docs/2.1/reference/varnishd.html - Storage Types).
I am not a varnish developer, just using varnish. Perhaps one of the developers 
may explain more.

Traian

-----Original Message-----
From: Yang Zhang [mailto:[email protected]] 
Sent: Tuesday, April 19, 2011 9:08 AM
To: Traian Bratucu
Cc: [email protected]
Subject: Re: Understanding persistent storage

Thanks.  Out of curiosity, the file stevedore is documented with:
"file: mmap's a file and uses it for storage" - why can't this be made 
persistent?  And what's the difference from -s persistent?
--
Yang Zhang
http://yz.mit.edu/

_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to