Hi. I've noticed something weird happen with this. A few days ago, I added
an extra cache_dir entry to my squid1.2.23b + 4 patches.
cache_dir /usr/local/squid/cache1 6000 16 256
cache_dir /usr/local/squid/cache2 6000 16 256
cache_dir /usr/local/squid/cache3 6000 16 256
cache_dir /usr/local/squid/cache4 6000 16 256
cache4 is the one added.
2 days on, it looks like that drive is being filled.
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sdb1 6102297 5020373 765847 87% /usr/local/squid/cache1
/dev/sdc1 6133291 5013172 802436 86% /usr/local/squid/cache2
/dev/sdd1 6102297 5009268 776952 87% /usr/local/squid/cache3
/dev/sde1 6102297 2411798 3374422 42% /usr/local/squid/cache4
However, taking a look at the cache manager output
Store Directory Statistics:
Store Entries : 1175864
Maximum Swap Size : 18732798 KB <-----
Current Store Swap Size: 17155573 KB
Current Capacity : 92% used, 8% free
Store Directory #0: /usr/local/squid/cache1
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 6144000 KB
Current Size: 4942232 KB
Percent Used: 80.44%
Filemap bits in use: 343529 of 1117090 (31%)
Store Directory #1: /usr/local/squid/cache2
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 6144000 KB
Current Size: 4926266 KB
Percent Used: 80.18%
Filemap bits in use: 335543 of 1117090 (30%)
Store Directory #2: /usr/local/squid/cache3
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 6144000 KB
Current Size: 4922159 KB
Percent Used: 80.11%
Filemap bits in use: 337101 of 1117090 (30%)
Store Directory #3: /usr/local/squid/cache4
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 6144000 KB
Current Size: 2364916 KB
Percent Used: 38.49%
Filemap bits in use: 159383 of 1117090 (14%)
Its certainly using Store Directory #3, but i'm baffled as to why the
Maximum Swap Size is still saying 18Gb, instead of 24Gb, and am not sure
whats happening to the data being written to cache4 :) Is there some upper
limit with squid1.2b23 ?
I had a look in the FAQ, and found
http://squid.nlanr.net/Squid/FAQ/FAQ-4.html#ss4.14 which states you can
add/remove cache_dir lines ok, but didn't find anything about limitations
on cache sizes.
Any ideas?
-----
Roger Yerramsetti : ,-------. :
rogery@wantree.com.au : : / / | a n t r e e I n t e r n e t :
Network Administrator : | (_/_/`-'----------------------------- :
Ph (08) 9221 8899 ::::: `-------' http://www.wantree.com.au ::::
Received on Wed Aug 19 1998 - 21:00:47 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:39 MST