varnish caches too many object variances

Taylan Develioglu tdevelioglu at ebuddy.com
Wed Sep 29 20:46:22 CEST 2010


So, what you are saying is it's not unusual to have twice as many objects as objects as objectheads when there is no Vary header ?

I don't know if it's usual or not, but it struck me as odd as I expected to have one object header per cached object.

-----Original Message-----
From: Caunter, Stefan [mailto:scaunter at topscms.com] 
Sent: Wednesday, September 29, 2010 8:31 PM
To: Taylan Develioglu; varnish-misc at varnish-cache.org
Subject: RE: varnish caches too many object variances


What is the issue?

It isn't unusual.

	 26791          .            .   N struct object
       27548          .            .   N struct objectcore
       20782          .            .   N struct objecthead

Stefan Caunter :: Senior Systems Administrator :: TOPS
e: scaunter at topscms.com  ::  m: (416) 561-4871
www.thestar.com www.topscms.com


-----Original Message-----
From: varnish-misc-bounces at varnish-cache.org
[mailto:varnish-misc-bounces at varnish-cache.org] On Behalf Of Taylan
Develioglu
Sent: September-29-10 12:43 PM
To: varnish-misc at varnish-cache.org
Subject: Re: varnish caches too many object variances

So, nobody has any other idea on why we have more objects than
object_heads ?

varnishstat :

n_object              1239057          .   N struct object
n_vampireobject             0          .   N unresurrected objects
n_objectcore          1241116          .   N struct objectcore
n_objecthead           640299          .   N struct objecthead
n_expired               32151          .   N expired objects



On Tue, 2010-09-28 at 19:21 +0200, Taylan Develioglu wrote:
> Hi,
> 
> I have some varnish 2.1.3 behavior I cannot explain.
> 
> Our backend servers are not adding any 'Vary:' header to responses,
but
> objects > object_heads by a great difference. 
> 
> The ratio objects:object_heads is ~ 2:1.
> 
> The vcl is clean and simple:
> 
>  sub vcl_recv {
>      unset req.http.cookie;
> 
>      if (req.request == "HEAD") {
>          return(pass);
>      }
>  }
> 
> Is there anything besides 'Vary' that makes varnish cache multiple
> objects ? What else could be causing this ?
> 
> 
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc



_______________________________________________
varnish-misc mailing list
varnish-misc at varnish-cache.org
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc




More information about the varnish-misc mailing list