Sizing Varnish RAM after over allocation

Dridi Boukelmoune dridi.boukelmoune at zenika.com
Wed Oct 2 10:28:16 CEST 2013


Hi Travis,

I don't see the worker threads (pool and session) workspaces and
stacks in your list. Defaults aren't that high but with a lot of
threads it might become significant. Also, is your system really using
10GB (and not just virtually) ?

Best Regards,
Dridi

On Wed, Oct 2, 2013 at 8:12 AM, Andreas Plesner Jacobsen <apj at mutt.dk> wrote:
> 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.
>
> --
> Andreas
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc



More information about the varnish-misc mailing list