[squid-users] Storage mem in 3.5.4, not sure what is happening

Sebastian Goicochea sebag at vianetcon.com.ar
Tue May 19 15:41:40 UTC 2015


Hello everyone, we're having a problem, we updated from squid 3.5.3 to 
3.5.4 (bellow are the configuration options) and enabled rock fs.

The problem that arose is that I don't know if objects are being stored 
in RAM, but what I do know is that there are no MEM_HITs in the 
access.log file


This is how I enabled rock:
cache_dir rock  /cache/rock  512  max-size=32768


This is what I get from squidclient:

Cache information for squid:
         Hits as % of all requests:      5min: 3.5%, 60min: 3.6%
         Hits as % of bytes sent:        5min: 4.0%, 60min: 4.0%
         Memory hits as % of hit requests:       5min: 0.0%, 60min: 0.0%
         Disk hits as % of hit requests: 5min: 37.6%, 60min: 33.7%
         Storage Swap size:      63691356 KB
         Storage Swap capacity:   7.2% used, 92.8% free
         Storage Mem size:       1048576 KB
         Storage Mem capacity:   100.0% used,  0.0% free
         Mean Object Size:       382.79 KB
         Requests given to unlinkd:      0


And this is what I get from an SNMP query:

snmpwalk -c public  -v1 localhost:1611 -m /etc/squid/mib.txt cacheSysVMsize
SQUID-MIB::cacheSysVMsize.0 = INTEGER: 4304


Configuration options:

squid-3.5.3
./configure  --prefix=/usr/local --datadir=/usr/local/share 
--bindir=/usr/local/sbin --libexecdir=/usr/local/lib/squid 
--localstatedir=/var --sysconfdir=/etc/squid3 --enable-delay-pools 
--enable-ssl --enable-ssl-crtd --enable-linux-netfilter --enable-eui 
--enable-snmp --enable-gnuregex --enable-ltdl-convenience 
--enable-removal-policies="lru heap" --enable-http-violations 
--with-openssl --with-filedescriptors=24321 --enable-poll --enable-epoll

squid-3.5.4
./configure  --prefix=/usr/local --datadir=/usr/local/share 
--bindir=/usr/local/sbin --libexecdir=/usr/local/lib/squid 
--localstatedir=/var --sysconfdir=/etc/squid3 --enable-delay-pools 
--enable-ssl --enable-ssl-crtd --enable-linux-netfilter --enable-eui 
--enable-snmp --enable-gnuregex --enable-ltdl-convenience 
--enable-removal-policies="lru heap" --enable-http-violations 
--with-openssl --with-filedescriptors=24321 --enable-poll --enable-epoll 
--enable-storeio=aufs,ufs,rock'



Thanks,
Sebastian


More information about the squid-users mailing list