Re: [squid-users] Why are cache_peer_access acls called 4 times in a row?

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Sun, 19 Oct 2008 19:24:09 +0200

On sön, 2008-10-19 at 17:25 +1300, Amos Jeffries wrote:
> > The following trace shows up in the log 4 times one after the other, and in
> > all of them it is a success (returning 1):

> > What is the reason for that? Other acls in the file are invoked only once
> > (seen in the trace), but acls on cache_peer_access are always called 3 or 4
> > times.
>
> 4 connection attempts were tried?

No. peer acls is evaluated during peering selection, not during
re-forwarding.

More likely it's because the peer was selected by 4 different
algorithms. It's an accelerator where going direct is not allowed so
Squid tries really hard to find all possible paths to forward the
request.

Regards
Henrik
Received on Sun Oct 19 2008 - 17:24:15 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 20 2008 - 12:00:04 MDT