Re: varnish inside openvz: memory usage issue

2008-08-28 Thread Per Buer
Isaac Grant skrev: (..) I (think I) understand the varnish's design, but should varnish eat ALL the memory like that ? Varnish uses the VM to differentiate between what's cached in memory and what is put on disk. If the VM doesn't have any other use for the memory it will give it to varnish.

varnish inside openvz: memory usage issue

2008-08-27 Thread Isaac Grant
Hi, I'm running varnish inside an openvz's container. Recently, I started to see problems with varnish using all available memory. It began to happen when we started delivering bigger files: videos (10 to 50MB). Inside a virtual machine having a total 4GB of virtual memory, varnish will eat all