Discussion:
[squid-users] 3.5.28 partial content getting HIT but not sending
Heiler Bemerguy
2018-11-23 17:02:10 UTC
Permalink
_______________________________________________
squid-users mailing list
squid-***@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users
Heiler Bemerguy
2018-11-23 17:28:32 UTC
Permalink
_______________________________________________
squid-users mailing list
squid-***@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users
Amos Jeffries
2018-11-24 06:33:08 UTC
Permalink
Hum, disabling that refresh_pattern and -k reconfigure seems to have
fixed it.. but.. why?
Something else is going on which is not visible in the details you have
shown.

- is the TCP connection containing a message pipeline?
if so the data and FIN may be related to a previous response message in
that pipeline.

- are other refresh patterns being used (probably yes) ?
- what are they? (before and after the change)

- what did your cache.log have to say at the time of the connection
termination? (may need debug level 2 or 5 enabled)


Also, you were using override-* and ignore-* settings in that
refresh_pattern that are not necessary for the Debian/Ubuntu servers.

At best they will be doing nothing to these responses (ie
ignore-no-store, ignore-private do nothing to Debian/Ubuntu responses).

Some will be causing *worse* caching service from the proxy.
override-lastmod with your small [84 day] expiry vastly reduces the
_years_ these objects can actually be cached for, and prevents IMS
revalidation being used to determine changes properly and store
un-changed things longer. NP: Debian/Ubuntu official repositories do
fully support IMS revalidation.


Amos
Heiler Bemerguy
2018-11-24 16:24:58 UTC
Permalink
_______________________________________________
squid-users mailing list
squid-***@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users
Amos Jeffries
2018-11-25 10:12:43 UTC
Permalink
No doubt, the connections were really being closed by the proxy itself,
LIKE it was finished sending the request. It was like a loop, so it was
infinite connections one right after another, but not in parallel.. the
fin-packets and everything else were "in order" judgjing by their SEQ
values too.
There were other refresh_patterns but none matching it. I didn't enable
debug options but I can try to reproduce it.. anyway the .conf was like
that for years and this was the first time a "loop" like this occurred.
I upgraded from 3.5.27 to 3.5.28 but I think nothing about this was
modified recently, right..?
3.5.28 is now treating the Content-Range header better - ignoring it in
server responses where it is not valid. Older versions were truncating
responses. Wild guess but I suspect the object stored in cache
previously may have been one of those incorrectly truncated ones or
something like that.

Amos

Loading...