Frequent ANY_OLD_PARENT in access log

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Frequent ANY_OLD_PARENT in access log

Veiko Kukk-2
Hi,

We have frequent ANY_OLD_PARENT in Squid 3.5.25 access log (reverse proxy mode).
Most of them succeed with TCP_MISS/200, some fail with 504 or other errors, no dead parent detected in cache log.

What does ANY_OLD_PARENT mean?

-- 
Veiko


_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Frequent ANY_OLD_PARENT in access log

Alex Rousskov
On 01/26/2018 02:48 AM, Veiko Kukk wrote:
> What does ANY_OLD_PARENT mean?

ANY_OLD_PARENT (former ANY_PARENT?) means that Squid used the first
considered-alive parent it could reach. Squid does that when none of the
specific parent cache selection algorithms (e.g., userhash or carp) were
enabled, all enabled algorithms failed to find a suitable parent, or all
suitable parents found by those algorithms failed when Squid tried to
forward the request to them.

This hierarchy code is now documented at
https://wiki.squid-cache.org/SquidFaq/SquidLogs#Hierarchy_Codes

If you find problems with the above description or can improve it,
please edit the above wiki page.


Thank you,

Alex.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users