The grace config eat the memory greatly

Andreas Plesner Jacobsen apj at mutt.dk
Mon Apr 23 20:30:07 CEST 2012


On Fri, Mar 30, 2012 at 11:50:34AM +0200, Per Buer wrote:
> 
> > (..)
> > Half an hour later, the total resident memory is about 3.7 G. It's 3
> > times more than the configured size.
> 
> This is a know weakness. DocWilco has provided a patch that I think is is
> accepted in master. Hopefully it will be out in a future release. I'm
> guessing it should not be to hard to backport the patch if you need to.

I don't believe that's what's at play here. I think it's a case of TTL below
the shortlived parameter, and ending up in the Transient store, which is
unbounded by default.

Also, remember that you're configuring the size of the store, not the size of
varnishd. There will be some overhead for threads and housekeeping.

-- 
Andreas



More information about the varnish-misc mailing list