[SQU] Squid 2.3 - FreeBSD 4.0 - Memory leak!

From: Babak Farrokhi <farrokhi@dont-contact.us>
Date: Thu, 9 Nov 2000 21:50:43 +0330

This has been bugging me for a while:

Squid 2.3.STABLE4 on FreeBSD 4.0 on a Dual Processor PIII 500 and 256MB RAM
and 10 GIG cache_dir. (I checked this thing on 5 different configs)

After machine is rebooted and squid starts it takes aproximately 2 hours to
get the Free Memory go below 1 MB. It just keeps decreasing as squid takes
requests.

Then memory stays at approximately 496K and squid keeps running. "top" shows
me that squid is using about 18MB of memory. I don't know what's wrong. Any
ideas?

part of my squid.conf file is as following:

----------------------------------------------
http_port 3128

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB

ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024

cache_dir ufs /usr/local/squid/cache 5000 16 256
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log

log_fqdn off
client_netmask 255.255.255.0
ftp_user cache@blahblah.com

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

reference_age 3 months

quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95

negative_ttl 1 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 1 minutes

connect_timeout 120 seconds
read_timeout 15 minutes
request_timeout 30 seconds

half_closed_clients off

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

miss_access allow all

cache_effective_user daemon
cache_effective_group daemon

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

memory_pools off
minimum_direct_hops 1
client_db off

uri_whitespace allow
----------------------------------------------

Thanks,
Babak

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Nov 09 2000 - 11:23:14 MST

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