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

From: Sean Boran <sean_at_boran.com>
Date: Tue, 20 Dec 2011 21:51:12 +0100

How do you "reload", by doing restart or "-k reconfigure" (must faster)

Sean

On 20 December 2011 16:48, Terry Dobbs <tdobbs_at_associatedbrands.com> wrote:
> Thanks.
>
> After looking into it more, it appears squidGuard seems to be taking a
> while to initialize the blacklists. The only reason I have to reload
> squid3 is for squidGuard to recognize the new blacklist entries.
>
> I am using Berkley DB for the first time, perhaps that's why it takes
> longer? Although, I don't really see what Berkley DB is doing for me as
> I am still using flat files for my domains/urls? Guess I should take
> this to the squidGuard list!
>
> -----Original Message-----
> From: Eliezer Croitoru [mailto:eliezer_at_ec.hadorhabaac.com]
> Sent: Monday, December 19, 2011 1:04 PM
> To: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] After reloading squid3, takes about 2 minutes
> to serve pages?
>
> On 19/12/2011 19:12, Terry Dobbs wrote:
> it's an old issue from squid 3.1 to 3.2 there is nothing yet as far as i
>
> know that solves this issue.
>
> Regards
> Eliezer
>> 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]
>
Received on Tue Dec 20 2011 - 20:51:18 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 21 2011 - 12:00:03 MST