Re: [squid-users] cpu usage increases over time, squid performance declines

From: Mike Solomon <mas63@dont-contact.us>
Date: Wed, 15 Feb 2006 10:55:30 -0800

> Can you send us your squid.conf file?

Sure thing. Here is the file in its entirety.

-Mike

cache_dir aufs /cache1 24000 8 256
cache_dir aufs /mnt/drive2/cache2 24000 8 256

store_dir_select_algorithm round-robin

cache_access_log none
cache_log /home/squid/logs/cache.log
cache_store_log none

pid_filename /home/squid/squid.pid

cache_effective_user squid
cache_effective_group squid

request_timeout 30 seconds
persistent_request_timeout 30 seconds

cache_mem 64 MB
maximum_object_size_in_memory 32 KB

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 mike src 10.1.1.24
acl to_localhost dst 127.0.0.0/8
acl Safe_ports port 80 # http
acl Safe_ports port 1025-65535 # unregistered ports

# Only allow cachemgr access from localhost
http_access allow manager mike
http_access deny manager
http_access deny !Safe_ports

http_access allow all
http_reply_access allow all

http_port 80

httpd_accel_port 80
httpd_accel_host 10.1.1.2
httpd_accel_single_host on

header_access Age deny all
header_access Server deny all
header_access Cache-Control deny all
header_access X-Cache deny all
header_access Expires deny all

refresh_pattern . 525600 20% 525600 override-expire override-lastmod
ignore-reload
Received on Wed Feb 15 2006 - 11:55:36 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST