Re: [squid-users] Vary object loop

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Fri, 14 Mar 2008 15:19:34 -0600

On Fri, 2008-03-14 at 14:58 +0000, Aurimas Mikalauskas wrote:
> The next question is about Vary header. I get absolutely amazing
> amount of these errors in cache.log:
>
> 2008/03/14 10:46:54| clientProcessHit: Vary object loop!
> 2008/03/14 10:46:54| varyEvaluateMatch: Oops. Not a Vary match on
> second attempt, 'http://some.url' 'accept-encoding'
> 2008/03/14 10:46:55| clientProcessHit: Vary object loop!
> 2008/03/14 10:46:55| varyEvaluateMatch: Oops. Not a Vary match on
> second attempt, 'http://some.other.url'
> 'accept-encoding="gzip,%20deflate"'
>
> A rough number:
> # grep -c 'Vary object loop' cache.log && wc -l squid_access.log
> 244816
> 1842602 squid_access.log
>
> Any idea what kind of loop that is and how to avoid it?

I am not sure at all, but based on a very quick look at the code, it
feels like the messages you are getting may not indicate any problems.
The attached patch disables these messages at debugging level 1.

If you receive a more knowledgeable answer, please disregard this
comment and the patch.

Thank you,

Alex.

Received on Fri Mar 14 2008 - 15:19:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT