Re: [squid-users] WARNING: Forwarding loop detected for: blah...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 11 Feb 2004 08:33:24 +0100 (CET)

On Wed, 11 Feb 2004, Evren Yurtesen wrote:

> I wonder if I am doing something wrong here or this is just a normal error
> message.
>
> I have one proxy at 217.21.68.4(proxy2) as parent and another at
> 217.21.68.52(turkey) as sibling.
>
> So, the parent shouldnt fetch data from the sibling unless it already has
> the data cached, right? So how come I see an error message in the sibling
> cache that the parent cache was asking the data from the sibling which the
> sibling asked from the parent at first place?

Normally this should not happen in a parent/sibling relation, but there is
always race windows where the caches may not be entirely in synch,
especially if there is two requests for the same URL or if you are using
cache-digests.

What you can do to eleminate this race window is to use cache_peer_access
to deny the sibling to be used on requests from the same sibling.

Regards
Henrik
Received on Wed Feb 11 2004 - 00:33:26 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST