Re: [squid-users] Cache.log shows a lot of TCP_MISS and no TCP_HIT

From: dev singh <dev.pratap@dont-contact.us>
Date: Thu, 21 Apr 2005 17:37:58 +0530

Hi all,

I hav also got same problem .........

Regards
Dev

On 4/21/05, Jeroen DEMETS - SAVACO <jeroen.demets@savaco.com> wrote:
> Hi,
>
> We are evaluating Squid for NT and we are noticing a lot of TCP_MISS and
> no TCP_HITs in our logs. We see TCP_IMS_HIT and TCP_REFRESH_MISS too.
> I think nothing gets used from the cache.
>
> I've added our configfile (used a script that only shows the lines
> without a # in front of it), so the rest is default.
> We use version 2.5.STABLE9-NT-CVS
>
> Can anyone tell me what we can do to get TCP_HITs ?
>
> Thanks in advance for any info.
>
> http_port 8080
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin \?
> acl local-servers src 172.20.0.0/16 192.168.100.0/24
> no_cache deny QUERY
> cache_mem 50 MB
> auth_param ntlm program c:/squid/libexec/win32_ntlm_auth.exe
> auth_param ntlm children 5
> auth_param ntlm max_challenge_reuses 0
> auth_param ntlm max_challenge_lifetime 2 minutes
> auth_param ntlm use_ntlm_negotiate off
> auth_param basic program c:/squid/libexec/nt_auth.exe
> auth_param basic children 5
> auth_param basic realm Squid proxy-caching web server
> auth_param basic credentialsttl 2 hours
> auth_param basic casesensitive off
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 1440 0% 1440
> refresh_pattern . 0 20% 4320
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl to_localhost dst 127.0.0.0/8
> acl SSL_ports port 443 563
> acl Safe_ports port 80 # http
> acl Safe_ports port 21 # ftp
> acl Safe_ports port 443 563 # https, snews
> acl Safe_ports port 70 # gopher
> acl Safe_ports port 210 # wais
> acl Safe_ports port 1025-65535 # unregistered ports
> acl Safe_ports port 280 # http-mgmt
> acl Safe_ports port 488 # gss-http
> acl Safe_ports port 591 # filemaker
> acl Safe_ports port 777 # multiling http
> acl CONNECT method CONNECT
> acl snmppublic snmp_community public
> http_access allow manager localhost
> http_access allow manager local-servers
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> external_acl_type NT_global_group %LOGIN
> c:/squid/libexec/win32_check_group.exe -G -c
> acl allow_internet external NT_global_group internet
> acl password proxy_auth REQUIRED
> http_access allow password allow_internet
> http_access deny all
> http_reply_access allow all
> cache_mgr webmaster@company.com <mailto:webmaster@company.com>
> cachemgr_passwd testpwd all
> snmp_port 3401
> snmp_access allow snmppublic localhost
> snmp_access allow snmppublic local-servers
> snmp_access deny all
> coredump_dir c:/squid/var/cache
>
> Kind regards,
> Jeroen
>
Received on Thu Apr 21 2005 - 06:08:02 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT