YOU WROTE---------------------------------------------
You say total cache storage is 28gig, yet from
your squid.conf it seems that you have a 'cache3' configured
which is 73gig !
In that case your machine's RAM will be much too low (512 Mb).
Check the FAQ on mem. usage versus configured cache dir(s).
M.
----------------------------------------------------------
Thanks for your reply
I know I've got 74 gig but I'm running cache_swap_high at 40%
This means that my caches never grows over 28 gig.
Do you still think that this should be changed?
MY MRTG
http://mrtg.spacelink.com.au/cache_server.html
Username: squidusers
Password: cache
Kind Regards
Stuart Clark
-----Original Message-----
From: Marc Elsen [mailto:marc.elsen@imec.be]
Sent: Tuesday, 15 April 2003 9:31 PM
To: Stuart Clark
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] cache/mem ratio ok but swap grows
Stuart Clark wrote:
>
> My swap seems to just grow and grow until I restart squid.
>
> Why?
>
> I want to grow my cache store another 40-50 gig.
>
> Is this safe?
>
> Ram is always maxed out
>
> I know about the mem/cache size ratios and I'm well within bounds
>
> All other stats look fine
>
> Here are my mrtg stats
>
> You can see where I've restarted squid and the swap and ram clears.
>
> http://mrtg.spacelink.com.au/cache_server.html
>
> Username: squidusers
> Password: cache
>
> Machine Specifications
>
> Celeron 1.2 GHZ
> 512 RAM
> 1 x scsi 4 GIG (ext3)
> 1 x ATA100 70 GIG (ext3)
> Redhat 7.3
> squid-2.4.STABLE6-6.7.3.rpm
> bind-9.2.1-1.7x.2
> vmlinuz-2.4.18-26.7.x
> Swap space 1 gig
> Total size of cache storage 28gig
>
> My squid box is running about 55 gig of traffic per month
>
> The CPU runs at 2% or less
>
> [root@proxy root]# cat /etc/squid/squid.conf | grep -v ^# | grep -v ^$
>
> http_port 3128
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin ?
> no_cache deny QUERY
> cache_mem 32 MB
> cache_swap_low 35
> cache_swap_high 40
> maximum_object_size 10000 KB
> maximum_object_size_in_memory 8 KB
> cache_dir ufs /cache 4800 16 256
> cache_dir ufs /cache3 73000 16 256
> cache_access_log /var/log/squid/access.log
> acl PURGE method PURGE
> acl snmppublic snmp_community public
> acl taz src XXX.XXX.XXX.XXX/255.255.255.255
> acl spacelink src XXX.XXX.XXX.XXX/255.255.255.0
> 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 # http
> acl Safe_ports port 21 # ftp
> acl Safe_ports port 443 563 # https, snews
> 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 spacelink
> http_access allow PURGE localhost
> http_access allow manager localhost
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow localhost
> http_access deny PURGE
> http_access deny all
> icp_access allow all
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
> snmp_port 3401
> snmp_access allow snmppublic taz
> snmp_incoming_address 0.0.0.0
> snmp_outgoing_address 255.255.255.255
-- 'Love is truth without any future. (M.E. 1997)Received on Wed Apr 16 2003 - 01:44:46 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:00 MST