Re: [squid-users] Sibling Problem

From: Ding Deng <ding.deng@dont-contact.us>
Date: Wed, 29 Aug 2007 13:49:16 +0800

Tek Bahadur Limbu <teklimbu@wlink.com.np> writes:

>> Timeout related settings:
>>
>> icp_query_timeout 50
>> maximum_icp_query_timeout 50
>
> You can try increasing the icp_query_timeout/maximum_icp_query_timeout
> to 5000 and check if it works.

Thanks a lot! That hasn't helped too much however, as what
_icp_query_timeout_ and _maximum_icp_query_timeout_ affecting are UDP
related queries, and `TCP_MISS/504' is unfortunately a TCP related one.

Anyway, I think we have finally caught it. It is a timeout, but *not* in
the normal sense. When machine A got an `UDP_HIT' response from machine
C, it sent an HTTP request to C to fetch the requested object. That
request (which is sometimes called the `only-if-cached request')
contained a `Cache-Control:' header:

        Cache-Control: max-age=259200, only-if-cached\r\n

If the local cached object is older that `max-age', Squid in machine C
would response with a 504 immediately.

I think switching to HTCP would get it fixed.
Received on Tue Aug 28 2007 - 23:49:34 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT