I cant seem to control the amount of RAM squid is using on my server. My config is below minus all the local ACLs. The box is a FreeBSD 4.x machine with 512M of RAM.
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
235 squid 2 0 477M 433M poll 469:08 5.57% 5.57% squid
proxy1# pstat -T
73/8232 files
301M/1183M swap space
proxy1#
Any idea why he would be eating so much memory ? I would have thought that if it was getting to the point where it is eating into a lot of swap space, this would be a 'bad thing' no ?
---Mike
cache_peer 192.168.128.242 sibling 3134 3132
icp_query_timeout 3000
cache_mem 8 MB
maximum_object_size 12288 KB
cache_dir ufs /usr/local/squid/cache 60000 48 256
cache_dir ufs /usr/local/squid/cache2 6000 16 256
cache_store_log none
log_mime_hdrs off
ftp_user Squid@sentex.ca
dns_nameservers 209.112.4.2 209.112.4.14
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
connect_timeout 120 seconds
peer_connect_timeout 30 seconds
half_closed_clients off
cache_effective_user squid
cache_effective_group squid
memory_pools off
client_db on
client_persistent_connections off
server_persistent_connections off
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/da0s1a 198399 30397 152131 17% /
/dev/da0s1f 5931961 3483154 1974251 64% /usr
/dev/da0s1e 1984479 44855 1780866 2% /var
/dev/da2e 8695079 4245910 3753563 53% /usr/local/squid/cache2
procfs 4 4 0 100% /proc
/dev/twed0e 77576569 42428273 23511811 64% /usr/local/squid/cache
Received on Sun Jul 09 2000 - 11:34:07 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:23 MST