Hi Squid users,
We're using squid3 as a reverse proxy on several boxes and he's working
quite well.
Squid configuration is quite simple :
cache_peer X.X.X.X parent 80 0 no-query originserver no-digest
cache_peer Y.Y.Y.Y parent 80 0 no-query originserver no-digest
cache_peer_domain X.X.X.X static.myhost1.com
cache_peer_domain Y.Y.Y.Y static.myhost2.com
So squid deliver static content and ONLY get missing files from backend
with cache_peer.
But sometimes (several times a day), i got some stange errors from
cache.log.
It seems that squid is trying to contact servers that are not in
cache_peer list with domain name that I should not handle any request !.
Exemple :
2009/11/23 08:36:28| Failed to select source for
'http://img43.imageshack.us/img43/416/greysanatomypromotional.jpg'
2009/11/23 08:36:28| always_direct = 0
2009/11/23 08:36:28| never_direct = 0
2009/11/23 08:36:28| timedout = 0
[snip]
2009/11/23 11:02:26| Failed to select source for
'http://pagead2.googlesyndication.com/pagead/show_ads.js'
2009/11/23 11:02:26| always_direct = 0
2009/11/23 11:02:26| never_direct = 0
2009/11/23 11:02:26| timedout = 0
I'm not imageshack or google. :)
Did someone have any idea ?
Best regards.
David.
Received on Mon Nov 23 2009 - 10:30:51 MST
This archive was generated by hypermail 2.2.0 : Mon Nov 23 2009 - 12:00:04 MST