Re: [squid-users] TCP_NEGATIVE_HIT/502

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 28 Jan 2014 18:59:17 +1300

On 28/01/2014 5:59 p.m., Caracol Bartolito wrote:
> Hi brothers and sisters.
>
> I am running Squid Cache: Version 2.7.STABLE9, over debian 6, as long as
> with apache2 creating virtual host. Everything was working good but, I am
> not able to get access to my virtual host (myhost.com) looking into
> squid access.log i got the next line:
>
> 1390867426.006 0 192.168.0.5 TCP_NEGATIVE_HIT/502 682 GET
> http://myhost.com/ - NONE/- text/html
>
> Even I already rewrite my squid.conf with a one week old squid
> configuration and do not work. Please somebody can help me to fix it?
>
> googling i got this page
>
> http://www.tenon.com/support/webten/papers/squidlog.shtml
>
>
> But I got lost with a explain above:
>
> TCP_NEGATIVE_HIT
>
> The request was for a negatively-cached object. Negative-caching
> refers to caching certain types of errors, such as "404 Not Found."
> The amount of time these errors are cached is controlled with the
> negative_ttl configuration parameter.
>

Yes. That is right still. Your Squid at one point got a 502 response
which was cacheable, it is still not expired from the cache.

Amos
Received on Tue Jan 28 2014 - 05:59:24 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 28 2014 - 12:00:06 MST