[squid-users] newbie: WARNING cache_mem is larger than total disk cache space!

From: Karl Kopper <karl@dont-contact.us>
Date: Wed, 25 Jun 2003 11:02:00 -0700

Sorry for what must be a dumb question, but I can't get this error to go
away
on my new Squid setup.

# service squid reload
2003/06/24 16:59:58| WARNING cache_mem is larger than total disk cache
space!

Here's my config:

# squid -v
Squid Cache: Version 2.4.STABLE6

# cat /etc/squid/squid.conf|grep ^cache_dir
cache_dir ufs /usr/local/squid/var/cache 8000 16 256

# cat /etc/squid/squid.conf|grep ^cache_mem
cache_mem 500 MB

# cd /usr/local/squid/var/cache
# df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/hde2 12G 1.6G 10G 14% /usr

And cachemgr.cgi says:

Store Directory Statistics:
Store Entries : 8322
Maximum Swap Size : 8192000 KB
Current Store Swap Size: 73156 KB
Current Capacity : 1% used, 99% free
Store Directory #0 (ufs): /usr/local/squid/var/cache
FS Block Size 4096 Bytes
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 8192000 KB
Current Size: 73156 KB
Percent Used: 0.89%
Filemap bits in use: 8285 of 32768 (25%)
Filesystem Space in use: 1593928/12825536 KB (12%)
Filesystem Inodes in use: 101064/1632000 (6%)
Flags: SELECTED
Removal policy: lru
LRU reference age: 11.34 days

Thanks, in advance for your help (and for the cool software).

--Karl
Received on Wed Jun 25 2003 - 11:56:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:38 MST