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.

The problem is that you are running VM inside a box (the openvz
container) which artificially limits the memory usage. If this was a
sane VM it would probably page out a lot of Varnish cache and not run out.

I guess this is a bug or a weakness of openvz, first and foremost. You
could work around the problem by limiting the cache size.

I don't think you will encounter the same problem with Xen or any other
virtualization solution where you have a separate VM for your VPS.



Per.



signature.asc
Description: OpenPGP digital signature
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Header array implented?

2008-08-28 Thread E.Torlen
Maybe for 2.1 :) ?

Poul-Henning Kamp skrev:
 In message [EMAIL PROTECTED], [EMAIL PROTECTED] writes:

   
 Just got of the vacation and read through alot that has happened around 
 varnish. Looks good, nice work :)

 One question that I have, is it possible in 2.0 to use Headers like arrays 
 e.g Cookie[user_id] , maybe on its way in to the trunk?

 Or do I still have to use regexp for that kind of stuff?
 

 Sorry, I've never gotten around to that, and I won't promise I'll
 manage for 2.0

   

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc