I already solve the problem, it is typo error. instead of modifying the maximum_object_size I accidentally edited the minimum_object_size.
----- Original Message -----
From: "Wennie V. Lagmay" <wlagmay_at_yanbulink.net>
To: "squid-users" <squid-users_at_squid-cache.org>
Cc: "wlagmay" <wlagmay_at_yanbulink.net>
Sent: Saturday, January 10, 2009 7:48:25 PM (GMT+0300) Asia/Kuwait
Subject: squid not caching
Dear All,
I am using squid-2.7 Stable 5 for at least 6 months and since I am facing some problems I decided to upgarde it to squid-3.0 stable 11. It is working smooth ang much faster than 2.7stable but my problem it is not caching, my cache directory stays at 1%.
Can anybody help me on how to let my squid-proxy cache the same way it caching when I am using version 2.7? My 3.0 configuration was based on my 2.7 config. Below is my configuration for your reference.
acl shb dstdomain .site1.com
acl eta dstdomain .site2.com
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl ipaddr src xxx.xxx.184.0/255.255.248.0
acl natmot src 192.168.10.0/255.255.255.0
acl natmot2 src 192.168.11.0/255.255.255.0
acl natmot3 src 192.168.12.0/255.255.255.0
acl natmot4 src 192.168.14.0/255.255.255.0
acl natmot5 src 192.168.15.0/255.255.255.0
acl natmot6 src 192.168.16.0/255.255.255.0
acl natmot7 src 192.168.24.0/255.255.248.0
acl natcuda1 src 192.168.64.0/255.255.224.0
acl natcuda2 src 192.168.96.0/255.255.224.0
acl cmts4 src 192.168.128.0/255.255.240.0
acl cmts5 src 192.168.144.0/255.255.240.0
acl cmts6 src 192.168.176.0/255.255.240.0
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
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 ipaddr
http_access allow natmot
http_access allow natmot2
http_access allow natmot3
http_access allow natmot4
http_access allow natmot5
http_access allow natmot6
http_access allow natmot7
http_access allow natcuda1
http_access allow natcuda2
http_access allow cmts4
http_access allow cmts5
http_access allow cmts6
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
icp_access deny all
htcp_access deny all
http_port xxx.xxx.184.42:8080
cache_peer xxx.xxx.193.87 parent 8080 0 no-query
cache_peer xxx.xxx.193.83 parent 8080 0 no-query
cache_peer_access xxx.xxx.193.87 allow shb
cache_peer_access xxx.xxx.193.87 deny all
cache_peer_access xxx.xxx.193.83 allow eta
cache_peer_access xxx.xxx.193.83 deny all
hierarchy_stoplist cgi-bin ?
cache_mem 6144 MB
maximum_object_size_in_memory 512 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap GDSF
cache_dir aufs /cache01/spool/squid/data01 8500 16 256
cache_dir aufs /cache01/spool/squid/data02 8500 16 256
cache_dir aufs /cache01/spool/squid/data03 8500 16 256
cache_dir aufs /cache01/spool/squid/data04 8500 16 256
cache_dir aufs /cache02/spool/squid/data01 8500 16 256
cache_dir aufs /cache02/spool/squid/data02 8500 16 256
cache_dir aufs /cache02/spool/squid/data03 8500 16 256
cache_dir aufs /cache02/spool/squid/data04 8500 16 256
cache_dir aufs /cache03/spool/squid/data01 8500 16 256
cache_dir aufs /cache03/spool/squid/data02 8500 16 256
cache_dir aufs /cache03/spool/squid/data03 8500 16 256
cache_dir aufs /cache03/spool/squid/data04 8500 16 256
max_open_disk_fds 30720
minimum_object_size 10240 KB
cache_swap_low 70
cache_swap_high 75
access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
cache_store_log none
pid_filename /var/log/squid/squid.pid
debug_options ALL,1
refresh_pattern \.gif$ 10080 90% 43200
refresh_pattern \.jpg$ 10080 90% 43200
refresh_pattern \.bom\.gov\.au 30 20% 120
refresh_pattern \.html$ 2880 50% 22160
refresh_pattern \.htm$ 2880 50% 22160
refresh_pattern \.php$ 2880 50% 22160
refresh_pattern \.asp$ 2880 50% 22160
refresh_pattern \.class$ 10080 90% 43200
refresh_pattern \.zip$ 10080 90% 43200
refresh_pattern \.jpeg$ 10080 90% 43200
refresh_pattern \.mid$ 10080 90% 43200
refresh_pattern \.shtml$ 2880 50% 22160
refresh_pattern \.exe$ 10080 90% 43200
refresh_pattern \.thm$ 10080 90% 43200
refresh_pattern \.wav$ 10080 90% 43200
refresh_pattern \.txt$ 10080 90% 43200
refresh_pattern \.cab$ 10080 90% 43200
refresh_pattern \.au$ 10080 90% 43200
refresh_pattern \.mov$ 10080 90% 43200
refresh_pattern \.xbm$ 10080 90% 43200
refresh_pattern \.ram$ 10080 90% 43200
refresh_pattern \.avi$ 10080 90% 43200
refresh_pattern \.chtml$ 2880 50% 22160
refresh_pattern \.thb$ 10080 90% 43200
refresh_pattern \.dcr$ 10080 90% 43200
refresh_pattern \.bmp$ 10080 90% 43200
refresh_pattern \.phtml$ 2880 50% 22160
refresh_pattern \.mpg$ 10080 90% 43200
refresh_pattern \.pdf$ 10080 90% 43200
refresh_pattern \.art$ 10080 90% 43200
refresh_pattern \.swf$ 10080 90% 43200
refresh_pattern \.mp3$ 10080 90% 43200
refresh_pattern \.ra$ 10080 90% 43200
refresh_pattern \.spl$ 10080 90% 43200
refresh_pattern \.viv$ 10080 90% 43200
refresh_pattern \.doc$ 10080 90% 43200
refresh_pattern \.gz$ 10080 90% 43200
refresh_pattern \.Z$ 10080 90% 43200
refresh_pattern \.tgz$ 10080 90% 43200
refresh_pattern \.tar$ 10080 90% 43200
refresh_pattern \.vrm$ 10080 90% 43200
refresh_pattern \.vrml$ 10080 90% 43200
refresh_pattern \.aif$ 10080 90% 43200
refresh_pattern \.aifc$ 10080 90% 43200
refresh_pattern \.aiff$ 10080 90% 43200
refresh_pattern \.arj$ 10080 90% 43200
refresh_pattern \.c$ 10080 90% 43200
refresh_pattern \.cpt$ 10080 90% 43200
refresh_pattern \.dir$ 10080 90% 43200
refresh_pattern \.dxr$ 10080 90% 43200
refresh_pattern \.hqx$ 10080 90% 43200
refresh_pattern \.jpe$ 10080 90% 43200
refresh_pattern \.lha$ 10080 90% 43200
refresh_pattern \.lzh$ 10080 90% 43200
refresh_pattern \.midi$ 10080 90% 43200
refresh_pattern \.movie$ 10080 90% 43200
refresh_pattern \.mp2$ 10080 90% 43200
refresh_pattern \.mpe$ 10080 90% 43200
refresh_pattern \.mpeg$ 10080 90% 43200
refresh_pattern \.mpga$ 10080 90% 43200
refresh_pattern \.pl$ 10080 90% 43200
refresh_pattern \.ppt$ 10080 90% 43200
refresh_pattern \.ps$ 10080 90% 43200
refresh_pattern \.qt$ 10080 90% 43200
refresh_pattern \.qtm$ 10080 90% 43200
refresh_pattern \.ras$ 10080 90% 43200
refresh_pattern \.sea$ 10080 90% 43200
refresh_pattern \.sit$ 10080 90% 43200
refresh_pattern \.tif$ 10080 90% 43200
refresh_pattern \.tiff$ 10080 90% 43200
refresh_pattern \.snd$ 10080 90% 43200
refresh_pattern \.wrl$ 10080 90% 43200
refresh_pattern ^ftp:// 2880 60% 22160
refresh_pattern ^gopher:// 30 20% 120
refresh_pattern . 2880 50% 22160
refresh_pattern \/$ 2880 50% 4320
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 95
negative_ttl 2 minutes
positive_dns_ttl 12 hours
half_closed_clients off
cache_effective_user squid
cache_effective_group squid
visible_hostname proxy
snmp_port 3401
acl snmppublic snmp_community xxxxxxxxx
snmp_access allow snmppublic ipaddr
snmp_access deny all
snmp_incoming_address 0.0.0.0
snmp_outgoing_address 0.0.0.0
icp_port 3130
prefer_direct on
never_direct allow shb
never_direct allow eta
ipcache_size 2048
ipcache_low 90
ipcache_high 95
coredump_dir /spool/squid/cache
Regards,
Wennie
Received on Sat Jan 10 2009 - 18:18:30 MST
This archive was generated by hypermail 2.2.0 : Sun Jan 11 2009 - 12:00:03 MST