Re: [squid-users] Going into hit-only-mode for 5 minutes....

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 24 Jun 2008 00:57:50 +1200

Rajasekar wrote:
> We am using squid 2.6 stable version in fedora core 6. Some times we
> receiving this error message in our cache.log file. when this error comes,
> we not able to browse for some time through squid proxy. We want to know the
> meaning of this error and why its occurred.
>
> <<<<<<<<<<<<<<<<<<<<<<ERROR SNAP>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> Failure Ratio at 1.01
> 2008/06/23 11:54:16| Going into hit-only-mode for 5 minutes...
>
> <<<<<<<<<<<<<<<<<<<<<<ERROR SNAP>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> Any solution?.

You appear to have major network connectivity problems.
Squid apparently has a sub-mode which is shifts to so you can get to
already-cached content even when the network underneath it is down or
falling apart.

The code in squid which says that is documented:

  * This function is designed to serve a fairly specific purpose.
  * Occasionally our vBNS-connected caches can talk to each other, but not
  * the rest of the world. Here we try to detect frequent failures which
  * make the cache unusable (e.g. DNS lookup and connect() failures). If
  * the failure:success ratio goes above 1.0 then we go into "hit only"
  * mode where we only return UDP_HIT or UDP_MISS_NOFETCH. Neighbors
  * will only fetch HITs from us if they are using the ICP protocol. We
  * stay in this mode for 5 minutes.
  *
  * Duane W., Sept 16, 1996

Amos

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE7
Received on Mon Jun 23 2008 - 12:57:52 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 23 2008 - 12:00:05 MDT