Re: [squid-users] A single website is loading slow

From: RM <bearmeat_at_gmail.com>
Date: Tue, 7 Sep 2010 20:28:49 -0700

On Tue, Sep 7, 2010 at 8:21 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On Tue, 7 Sep 2010 19:31:45 -0700, RM <bearmeat_at_gmail.com> wrote:
>> I am having issues with just a single website loading very very slowly
>> through Squid. The problematic website loads fine without a proxy but
>> takes several minutes to load through Squid. All other websites load
>> perfectly fine.  I have tried the following:
>>
>> 1) I originally thought the issue was DNS related so I changed the
>> nameservers that Squid uses by using "dns_nameservers". I tried
>> several different local nameservers and then eventually tried free
>> services such as Google's and OpenDNS's. No luck.
>>
>> 2) To further convince myself it was not DNS, I entered the website's
>> IP/host information into /etc/hosts and used Squid's "hosts_file"
>> directive to use /etc/hosts. This did not help either.
>>
>> Squid was restarted each time after making the above changes.
>>
>> Here are the access.log entries related to loading the website (URL
>> and IP addresses have been changed).
>>
>> 1283907376.404    320   222.222.222.222 TCP_MISS/301 508 GET
>> http://website.com username DIRECT/111.111.111.111 text/html
>> 1283907415.924  39277   222.222.222.222 TCP_MISS/200 62371 GET
>> http://www.website.com/ username DIRECT/111.111.111 text/html
>>
>> As you can see, the first log entry appears quickly after attempting
>> to load the website. The title of the website appears in the web
>> browser's title bar almost immediately but the content of the website
>> does not load until much later.
>>
>> Any help is much appreciated.
>
> You have erased the vital information about *which* website URL and
> *where* it is. Have not provided any information about which squid version
> you are talking about either.
>
> To get any type of useful help you need to present enough facts for
> someone else to replicate the problem please.
>
> All we can do at this point is say "yes. Your log shows that a website is
> loading slowly". Other sites work fine? then conclude that the problems is
> not in Squid itself but somewhere else which impacts Squid.
>
> Amos
>

The website is www.realestate.com

I am using Squid Cache: Version 2.6.STABLE21 on CentOS 5.5 32-bit

Thanks.
Received on Wed Sep 08 2010 - 03:28:55 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 08 2010 - 12:00:03 MDT