Re: [squid-users] After reloading squid3, takes about 2 minutes to serve pages?

From: E.S. Rosenberg <esr_at_g.jct.ac.il>
Date: Mon, 19 Dec 2011 19:33:41 +0200

2011/12/19 Terry Dobbs <tdobbs_at_associatedbrands.com>:
> 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:
Do you mean reload or restart? Squid3 has quite a long shutdown by
default (30s iirc) during which it does not accept connections.
The error below is proxy auth required, are you doing authentication?
Could it be that it's taking a while to establish a connection with
your authentication server?
Good luck,
Eli

>
> 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]
Received on Mon Dec 19 2011 - 17:33:48 MST

This archive was generated by hypermail 2.2.0 : Mon Dec 19 2011 - 12:00:03 MST