Varnish memory usage

Andreas Plesner Jacobsen apj at
Sun Jan 22 16:54:05 CET 2012

On Sun, Jan 22, 2012 at 03:50:56PM +0000, Jan-Aage Frydenbø-Bruvoll wrote:
> >
> > Same rules apply for transient as for any other malloc store: TTL, LRU or
> > ban/purge.
> Will Varnish keep multiple generations of objects that expire, and
> potentially wait with LRU eviction until it gets closer to the known
> sensible maximum memory allocation (the host has 128GB RAM)? We do
> have a limited number of (smallish) objects cached for 5 seconds as a
> somewhat desperate means of shielding our application servers, but the
> amount of pages we cache in this way in no way rhymes with the
> enormous amount of data kept by Varnish in transient storage. All
> other objects are stored for a substantially longer time (i.e. weeks
> and above) and should not come into play here.

Are you sure that these objects are really hashed correctly, and do not have a
Vary header that will blot the cache? Do you see hits on these objects?


More information about the varnish-misc mailing list