[squid-users] squid test

From: Stuart Clark <sclark@dont-contact.us>
Date: Fri, 20 Apr 2001 03:08:57 +1000

I installed a new squid on 25 march 2001.
We transfer about 30 gig per month through out servers.
I am using 2 cache hdd's on the same linux box.
But cache size of both disks are only 75 meg?
I think that they should be heaps bigger by now
Can anyone tell why squid is not caching properly??

P.S. i am also running a cron script to swap squid over to another link
overnight.
Here is the script and my squid config

------start cron script-------

#!/bin/sh

echo "Switching over to Cable"
/etc/rc.d/init.d/squid stop
cp /etc/squid/squid.conf-isdn /etc/squid/squid.conf
while [ -e /var/run/squid.pid ] ; do
echo "trying to restart squid"
sleep 4
done
/etc/rc.d/init.d/squid start
echo "squid restarted"

------- end cron script-------

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

http_port 3128
tcp_outgoing_address xxx.xxx.xxx.xxx (isdn link address)
udp_outgoing_address xxx.xxx.xxx.xxx (isdn link address)
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 64 MB
cache_swap_low 85
cache_swap_high 90
maximum_object_size 30720 KB
cache_dir ufs /cache1 7000 16 256
cache_dir ufs /cache 8000 16 256
cache_access_log /var/log/httpd/squid_access_log
pid_filename /var/run/squid.pid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 10080
acl all src xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx (our ip addresses)
acl all src xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx (also our ipaddresses)
acl snmp_community src 127.0.0.1/255.255.255.255
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 81 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
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
icp_access allow all
miss_access allow all
cache_mgr webmaster@com.au
cache_effective_user nobody
cache_effective_group nobody
httpd_accel_host localhost
httpd_accel_port 81
httpd_accel_uses_host_header on
logfile_rotate 5
acl snmppublic snmp_community public
snmp_access allow snmppublic localhost
snmp_access deny all

----end----
Received on Thu Apr 19 2001 - 11:09:04 MDT

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