Sizing Varnish RAM after over allocation

Andreas Plesner Jacobsen apj at
Wed Oct 2 08:12:54 CEST 2013

On Tue, Oct 01, 2013 at 05:29:19PM +0000, Crowder, Travis wrote:
> With this, I am estimating about 4.2GB for Varnish using a 32KB average
> object size.  What I am having trouble with is the grace (set for 1 hour) and
> how that comes into play with storing objects.  Are they stored for 1 hour
> after expiry in case a backend goes down and after the 1 hour available to be
> evicted?  When exactly do objects free memory?  I've found different
> information, but it seems the prevailing thought is only when a purge command
> occurs.

Content will be evicted when ttl, grace (and keep) expires. You'll see an
ExpKill log entry in varnishlog when it happens.


More information about the varnish-misc mailing list