Re: [squid-users] Slow connections

From: Joe Cooper <joe@dont-contact.us>
Date: Tue, 30 Jul 2002 22:30:51 -0500

What does the cachemanager have to say?

Try:

client mgr:info

Check the service times for hits, misses, and DNS lookups at a time when
things are slow.

Check memory usage. Is there any chance Squid is going into swap, even
just a little bit?

Also check browsing from the proxy server itself to make sure there
isn't some weird issue in your network that is affecting the proxy:

lynx http://www.some-problem-site.com

and to check it likewise through the proxy:

client http://www.some-problem-site.com

Is lynx noticeably faster than the client at retrieving the page
(remembering that Lynx is a real browser, client is just a simple HTTP
client with no HTML knowledge--a more accurate test would be to use wget
with and without the proxy to retrieve some set of files a few times and
compare the averages to see if Squid is the problem, or some other
aspect of the proxies network configuration is to blame).

Ryan O'Rourke wrote:
> Well, I have looked into the possibility of DNS slowing down my squid, but
> there don't seem to be any problems with it.
> A look in the cache.log doesn't seem out of the ordinary to me (what is "FD
> 4" though?):
> [root@shirley cgi-bin]# cat /usr/local/squid/logs/cache.log |grep DNS
> 2002/07/29 19:03:28| Performing DNS Tests...
> 2002/07/29 19:03:28| Successful DNS name lookup tests...
> 2002/07/29 19:03:28| DNS Socket created on FD 4
> 2002/07/30 08:51:40| Performing DNS Tests...
> 2002/07/30 08:51:40| Successful DNS name lookup tests...
> 2002/07/30 08:51:40| DNS Socket created on FD 4
> [root@shirley cgi-bin]# cat /usr/local/squid/logs/cache.log |grep dns
> 2002/07/30 08:51:15| CACHEMGR: root@127.0.0.1 requesting 'idns'
> 2002/07/30 08:53:46| CACHEMGR: root@127.0.0.1 requesting 'idns'
> [root@shirley cgi-bin]#
>
> Any other suggestions?
> Thank you.
> Ryan
>
>
>>-----Original Message-----
>>From: Joe Cooper [SMTP:joe@swelltech.com]
>>Sent: Monday, July 29, 2002 12:16 PM
>>To: Ryan O'Rourke
>>Cc: squid-users@squid-cache.org
>>Subject: Re: [squid-users] Slow connections
>>
>>
>>Check your cache.log, access.log and cachemgr for clues about where
>>things are slowing down. DNS is often the culprit when someone in your
>>situation (i.e. very few users) says "My Squid is slow".
>>
>>
>

-- 
Joe Cooper <joe@swelltech.com>
Web caching appliances and support.
http://www.swelltech.com
Received on Tue Jul 30 2002 - 21:33:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:24 MST