[squid-users] Antwort: [squid-users] Re: Antwort: [squid-users] Re: Antwort: Re: [squid-users] Question to cache_peer

From: <Andreas.Reschke_at_mahle.com>
Date: Fri, 4 Jul 2014 11:17:32 +0200

babajaga <augustus_meyer_at_yahoo.de> schrieb am 04.07.2014 11:06:24:

> Von: babajaga <augustus_meyer_at_yahoo.de>
> An: squid-users_at_squid-cache.org
> Datum: 04.07.2014 11:08
> Betreff: [squid-users] Re: Antwort: [squid-users] Re: Antwort: Re:
> [squid-users] Question to cache_peer
>
> OK, then we will have a look at the ACL-decisions (often a problem) and
the
> peer selection within squid, using
>
> debug_options ALL,5 33,2 28,9 44,3
>
> in squid.conf
>
> This will produce a detailed log about ACL processing, and peer
selection,
> which is the most interesting.
> It will cause a lot of output to cache.log, so only to use it for a
short
> period of time.
>
> In cache.log then simply search for "peer_select" and have a look
around,
> why the parent cache is not chosen.
>
>
>
> --
> View this message in context: http://squid-web-proxy-cache.
> 1019090.n4.nabble.com/Question-to-cache-peer-tp4666616p4666644.html
> Sent from the Squid - Users mailing list archive at Nabble.com.

Hi babajaga (What a name ;-)

log file looks fine:

2014/07/04 11:11:28.540 kid1| peer_select.cc(151) peerSelect: peerSelect:
http://ecx.images-amazon.com/images/I/51F9heD9xiL._AC_AC_BR255_GR_SL50_.jpg
2014/07/04 11:11:28.540 kid1| peer_select.cc(435) peerSelectFoo:
peerSelectFoo: 'GET ecx.images-amazon.com'
2014/07/04 11:11:28.540 kid1| peer_select.cc(446) peerSelectFoo:
peerSelectFoo: direct = DIRECT_UNKNOWN (never_direct to be checked)
2014/07/04 11:11:28.540 kid1| peer_select.cc(184)
peerCheckNeverDirectDone: peerCheckNeverDirectDone: ALLOWED
2014/07/04 11:11:28.540 kid1| peer_select.cc(190)
peerCheckNeverDirectDone: direct = DIRECT_NO (never_direct allow)
2014/07/04 11:11:28.540 kid1| peer_select.cc(435) peerSelectFoo:
peerSelectFoo: 'GET ecx.images-amazon.com'
2014/07/04 11:11:28.541 kid1| peer_select.cc(125) peerSelectIcpPing:
peerSelectIcpPing:
http://ecx.images-amazon.com/images/I/51F9heD9xiL._AC_AC_BR255_GR_SL50_.jpg
2014/07/04 11:11:28.541 kid1| peer_select.cc(136) peerSelectIcpPing:
peerSelectIcpPing: counted 0 neighbors
2014/07/04 11:11:28.541 kid1| peer_select.cc(675) peerGetSomeParent:
peerGetSomeParent: GET ecx.images-amazon.com
2014/07/04 11:11:28.541 kid1| peer_select.cc(699) peerGetSomeParent:
peerSelect: FIRSTUP_PARENT/194.99.121.200
2014/07/04 11:11:28.541 kid1| peer_select.cc(724) peerGetAllParents:
peerGetAllParents: adding alive parent 194.99.121.200
2014/07/04 11:11:28.541 kid1| peer_select.cc(265) peerSelectDnsPaths: Find
IP destination for:
http://ecx.images-amazon.com/images/I/51F9heD9xiL._AC_AC_BR255_GR_SL50_.jpg'
via 194.99.121.200
2014/07/04 11:11:28.541 kid1| peer_select.cc(265) peerSelectDnsPaths: Find
IP destination for:
http://ecx.images-amazon.com/images/I/51F9heD9xiL._AC_AC_BR255_GR_SL50_.jpg'
via 194.99.121.200
2014/07/04 11:11:28.541 kid1| peer_select.cc(286) peerSelectDnsPaths:
Found sources for
'http://ecx.images-amazon.com/images/I/51F9heD9xiL._AC_AC_BR255_GR_SL50_.jpg'
2014/07/04 11:11:28.541 kid1| peer_select.cc(287) peerSelectDnsPaths:
always_direct = DENIED
2014/07/04 11:11:28.541 kid1| peer_select.cc(288) peerSelectDnsPaths:
never_direct = ALLOWED
2014/07/04 11:11:28.541 kid1| peer_select.cc(298) peerSelectDnsPaths:
cache_peer = local=0.0.0.0 remote=194.99.121.200:3128 flags=1
2014/07/04 11:11:28.541 kid1| peer_select.cc(298) peerSelectDnsPaths:
cache_peer = local=0.0.0.0 remote=194.99.121.200:3128 flags=1
2014/07/04 11:11:28.541 kid1| peer_select.cc(301) peerSelectDnsPaths:
timedout = 0
2014/07/04 11:11:28.541 kid1| peer_select.cc(94) ~ps_state:
http://ecx.images-amazon.com/images/I/51F9heD9xiL._AC_AC_BR255_GR_SL50_.jpg
2014/07/04 11:11:28.563 kid1| peer_select.cc(151) peerSelect: peerSelect:
2014/07/04 11:11:28.598 kid1| peer_select.cc(446) peerSelectFoo:
peerSelectFoo: direct = DIRECT_UNKNOWN (never_direct to be checked)
2014/07/04 11:11:28.598 kid1| peer_select.cc(184)
peerCheckNeverDirectDone: peerCheckNeverDirectDone: ALLOWED
2014/07/04 11:11:28.598 kid1| peer_select.cc(190)
peerCheckNeverDirectDone: direct = DIRECT_NO (never_direct allow)
2014/07/04 11:11:28.598 kid1| peer_select.cc(435) peerSelectFoo:
peerSelectFoo: 'GET gdecz.hit.gemius.pl'
2014/07/04 11:11:28.598 kid1| peer_select.cc(125) peerSelectIcpPing:
peerSelectIcpPing: http://gdecz.hit.gemius.pl/gdejs/inscreen_lib.js
2014/07/04 11:11:28.598 kid1| peer_select.cc(136) peerSelectIcpPing:
peerSelectIcpPing: counted 0 neighbors
2014/07/04 11:11:28.598 kid1| peer_select.cc(675) peerGetSomeParent:
peerGetSomeParent: GET gdecz.hit.gemius.pl
2014/07/04 11:11:28.598 kid1| peer_select.cc(699) peerGetSomeParent:
peerSelect: FIRSTUP_PARENT/194.99.121.200
2014/07/04 11:11:28.598 kid1| peer_select.cc(724) peerGetAllParents:
peerGetAllParents: adding alive parent 194.99.121.200
2014/07/04 11:11:28.598 kid1| peer_select.cc(265) peerSelectDnsPaths: Find
IP destination for: http://gdecz.hit.gemius.pl/gdejs/inscreen_lib.js' via
194.99.121.200
2014/07/04 11:11:28.598 kid1| peer_select.cc(265) peerSelectDnsPaths: Find
IP destination for: http://gdecz.hit.gemius.pl/gdejs/inscreen_lib.js' via
194.99.121.200
2014/07/04 11:11:28.598 kid1| peer_select.cc(286) peerSelectDnsPaths:
Found sources for 'http://gdecz.hit.gemius.pl/gdejs/inscreen_lib.js'
2014/07/04 11:11:28.598 kid1| peer_select.cc(287) peerSelectDnsPaths:
always_direct = DENIED
2014/07/04 11:11:28.598 kid1| peer_select.cc(288) peerSelectDnsPaths:
never_direct = ALLOWED
2014/07/04 11:11:28.598 kid1| peer_select.cc(298) peerSelectDnsPaths:
cache_peer = local=0.0.0.0 remote=194.99.121.200:3128 flags=1
2014/07/04 11:11:28.598 kid1| peer_select.cc(298) peerSelectDnsPaths:
cache_peer = local=0.0.0.0 remote=194.99.121.200:3128 flags=1
2014/07/04 11:11:28.599 kid1| peer_select.cc(301) peerSelectDnsPaths:
timedout = 0

Mit freundlichen Grüßen / Kind regards

Mr. Andreas Reschke
andreas.reschke@mahle.com, http://www.mahle.com
Received on Fri Jul 04 2014 - 09:17:44 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 04 2014 - 12:00:05 MDT