[squid-users] Sqiuid Refuses to Serve Cached Content, strange cache.log errors

From: MrNicholsB <mrnicholsb_at_gmail.com>
Date: Sat, 4 Jun 2011 14:02:38 -0700

Ive set transparent and removed it, changed my OS, doesnt matter, access log
doesnt even show half the things im downloading. My clients browsers are set
manually to the squid servers ip, I get internet through the proxy, just not
getting the benefits of the cache :(

root_at_katmai:/var/log/squid3# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/katmai-root
                       37G 1.2G 34G 4% /
varrun 1.5G 60K 1.5G 1% /var/run
varlock 1.5G 0 1.5G 0% /var/lock
udev 1.5G 44K 1.5G 1% /dev
devshm 1.5G 0 1.5G 0% /dev/shm
/dev/sda1 236M 25M 199M 12% /boot

Linux katmai 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 =
GNU/Linux

cache.log errors
--------------------------------------------------------------

2011/06/04 13:29:25| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:30:29| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:31:30| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:32:31| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:33:32| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:34:34| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:35:35| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:36:36| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available

squid.conf
--------------------------------------------------------------

root_at_katmai:/var/log/squid3# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/katmai-root 37G 1.2G 34G 4% /

Linux katmai 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 =
GNU/Linux

cache.log errors
--------------------------------------------------------------

2011/06/04 13:29:25| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:30:29| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:31:30| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:32:31| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:33:32| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:34:34| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:35:35| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available
2011/06/04 13:36:36| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) =
failed: (92) Protocol not available

squid.conf
--------------------------------------------------------------
visible_hostname central.server

http_port 3128
icp_port 0

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
dns_nameservers 127.0.0.1
cache_swap_low 90
cache_swap_high 95
access_log /var/log/squid3/access.log
cache_mem 2048 MB
memory_pools on
maximum_object_size_in_memory 50 MB
log_icp_queries off
cache_mgr Admin_at_meatspin.com
cache_dir ufs /var/spool/squid3 20000 32 256

acl localhost src 127.0.0.1/32
acl manager proto cache_object
acl our_networks src 10.10.1.0/24
acl SSL_ports port 443
acl Safe_ports port 21 # ftp
acl Safe_ports port 80 # http
acl Safe_ports port 443 # https
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

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow our_networks
http_access allow localhost
http_access deny all

cache deny localhost manager SSL_ports
maximum_object_size 300 MB
cache_replacement_policy heap GDSF
Received on Sat Jun 04 2011 - 21:03:00 MDT

This archive was generated by hypermail 2.2.0 : Sun Jun 05 2011 - 12:00:03 MDT