Le 19/12/2011 18:12, Terry Dobbs a écrit :
Hi All. I just installed squid3 after running squid2.5 for a number of years. I find after reloading squid3 and trying to access the internet on a proxy client it takes about 2 minutes until pages load. For example, if I reload squid3 and try to access a page, such as www.tsn.ca it will try to load for a minute or 2 until it finally displays. I understand I shouldn't need to reload squid3 too much, but is there something I am missing to make this happen? I am not using it for cacheing just for monitoring/website control. Here is the log from when I was trying to access the mentioned site: 1324310991.377 2 192.168.70.97 TCP_DENIED/407 2868 GET http://www.tsn.ca/ - NONE/- text/html [Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*\r\nAccept-Language: en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; InfoPath.1)\r\nAccept-Encoding: gzip, deflate\r\nProxy-Connection: Keep-Alive\r\nHost: www.tsn.ca\r\nCookie: TSN=NameKey={ffc1186b-54bb-47ef-b072-097f5fafc5f2}; __utma=54771374.1383136889.1323806167.1324305925.1324309890.7; __utmz=54771374.1323806167.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(n one); __utmb=54771374.1.10.1324309890\r\n] [HTTP/1.0 407 Proxy Authentication Required\r\nServer: squid/3.0.STABLE19\r\nMime-Version: 1.0\r\nDate: Mon, 19 Dec 2011 16:09:51 GMT\r\nContent-Type: text/html\r\nContent-Length: 2485\r\nX-Squid-Error: ERR_CACHE_ACCESS_DENIED 0\r\nProxy-Authenticate: NTLM\r\n\r] 1324310991.447 5 192.168.70.97 TCP_DENIED/407 3244 GET http://www.tsn.ca/ - NONE/- text/html [Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*\r\nAccept-Language: en-us\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; InfoPath.1)\r\nAccept-Encoding: gzip, deflate\r\nProxy-Connection: Keep-Alive\r\nCookie: TSN=NameKey={ffc1186b-54bb-47ef-b072-097f5fafc5f2}; __utma=54771374.1383136889.1323806167.1324305925.1324309890.7; __utmz=54771374.1323806167.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(n one); __utmb=54771374.1.10.1324309890\r\nProxy-Authorization: NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAFASgKAAAADw==\r\nHost: www.tsn.ca\r\n] [HTTP/1.0 407 Proxy Authentication Required\r\nServer: squid/3.0.STABLE19\r\nMime-Version: 1.0\r\nDate: Mon, 19 Dec 2011 16:09:51 GMT\r\nContent-Type: text/html\r\nContent-Length: 2583\r\nX-Squid-Error: ERR_CACHE_ACCESS_DENIED 0\r\nProxy-Authenticate: NTLM TlRMTVNTUAACAAAAEgASADAAAAAFgomid3FHZLqI7WsAAAAAAAAAAIoAigBCAAAAQwBPAE4A VgBFAEMAVABPAFIAAgASAEMATwBOAFYARQBDAFQATwBSAAEACgBTAFEAVQBJAEQABAAmAGEA cwBzAG8AYwBpAGEAdABlAGQAYgByAGEAbgBkAHMALgBjAGEAAwA0AHUAYgB1AG4AdAB1AC4A YQBzAHMAbwBjAGkAYQB0AGUAZABiAHIAYQBuAGQAcwAuAGMAYQAAAAAA\r\n\r]
Maybe not related but there is an very useful patch here - Bug: Squid cannot do anything else during ufs/diskd rebuild - -> http://bugs.squid-cache.org/show_bug.cgi?id=3268 (after comment 8)