Quantcast

Going into hit-only-mode for 5 minutes....

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Going into hit-only-mode for 5 minutes....

Rajasekar-2
We 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?.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Going into hit-only-mode for 5 minutes....

Amos Jeffries-2
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Going into hit-only-mode for 5 minutes....

Henrik Nordström
In reply to this post by Rajasekar-2
On mån, 2008-06-23 at 04:14 -0700, 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.

> Failure Ratio at 1.01
> 2008/06/23 11:54:16| Going into hit-only-mode for 5 minutes...

The error just indicates Squid is aware there is some connectivity
problem, and stops responding to ICP on misses to avoid drawing traffic
from child caches..

So it's just a indication there is something wrong, not the error cause
itself..

As you say it's impossible to browse at the time then my guess is that
you have some kind of networking related problem which prevents Squid
from connecting to the Internet.

Regards
Henrik

signature.asc (316 bytes) Download Attachment
Loading...