varnish consuming too much memory?

Jodok Batlogg jodok at lovelysystems.com
Wed Mar 12 23:03:59 CET 2008


On 12.03.2008, at 19:59, Poul-Henning Kamp wrote:

>
>> i'm wondering how varnish determines how much memory it should
>> consume...
>
> It uses all memory it can for caching.

- is there a way to limit it?
i'd like to assign the 4 varnishes running on this box 3 GB each and  
leave 4GB for linux disk/nfs cache

- what effect has the size of the VARNISH_STORAGE_SIZE?
is this cache persistent? when are objects moved from memory to disk?

thanks

jodok

>
>
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by  
> incompetence.

--
"Beautiful is better than ugly."
   -- The Zen of Python, by Tim Peters

Jodok Batlogg, Lovely Systems GmbH
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
mobile: +43 676 5683591, phone: +43 5572 908060

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2454 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20080312/2339e655/attachment-0003.bin>


More information about the varnish-dev mailing list