[SQU] Poor hit/miss ratio, have I mis-configed

From: Medi Montaseri <medi@dont-contact.us>
Date: Thu, 07 Dec 2000 08:30:32 -0800

My squid proxy is only a week old and checking access.log is showing
a very poor hit ratio. Can you help

Visiting an access.log of 19536 records, I get
TCP_HIT = 149, and
TCP_MISS = 15723

I then did a tail -f on the log and kept hitting the reload button on my
browser.
I'm seeing TCP_MISS for every click.

Here is my squid.conf

http_port 8080
cache_mem 32 MB
cache_dir ufs /var/spool/squid 100 16 256
dns_defnames on
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 SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
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 sc.prepass src 138.69.5.0/24
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow sc.prepass
always_direct allow sc.prepass
http_access deny all
icp_access allow all
miss_access allow all
cache_mgr medi@sc.prepass.com
append_domain .sc.prepass.com

Maybe I need to remove

always_direct allow sc.prepass

--
=======================================================================
Medi Montaseri, medi@sc.prepass.com, 408-450-7114
Lockheed Martin IMS (Prepass), IT/Operations, Software Eng.
=======================================================================
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Dec 07 2000 - 16:30:58 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:53 MST