cache_dir

From: Bike Hsu <bike@dont-contact.us>
Date: Mon, 24 May 1999 23:21:44 +0800

Hi, all:

Following is my set up in cache_dir, and result of df and cache manager,
Could anyone tell me why my /cache1 ~ /cache4 use more sapce than my
limitation in squid.conf? (/cache1 ~ cache4 is dominated to cache.)

cache_dir:
cache_dir /cache1 8000 16 256
cache_dir /cache2 8000 16 256
cache_dir /cache3 8000 16 256
cache_dir /cache4 4000 16 256

df:
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/wd0s1a 5079541 837852 3835326 18% /
/dev/wd1s1e 12800033 10790606 985425 92% /cache1
/dev/wd2s1e 12800033 10495739 1280292 89% /cache2
/dev/wd3s1e 12800033 10728128 1047903 91% /cache3
/dev/wd0s2e 6702266 5968934 197151 97% /cache4
procfs 4 4 0 100% /proc

cache manager:
Store Directory Statistics:
Store Entries : 904045
Maximum Swap Size : 28672000 KB
Current Store Swap Size: 25931023 KB
Current Capacity : 90% used, 10% free

Store Directory #0: /cache1
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 8192000 KB
Current Size: 7726090 KB
Percent Used: 94.31%
Filemap bits in use: 263848 of 1575384 (17%)
Flags: SELECTED

Store Directory #1: /cache2
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 8192000 KB
Current Size: 7795378 KB
Percent Used: 95.16%
Filemap bits in use: 271456 of 1575384 (17%)
Flags:

Store Directory #2: /cache3
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 8192000 KB
Current Size: 7676426 KB
Percent Used: 93.71%
Filemap bits in use: 269571 of 1575384 (17%)
Flags: SELECTED

Store Directory #3: /cache4
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 4096000 KB
Current Size: 2733129 KB
Percent Used: 66.73%
Filemap bits in use: 95914 of 630153 (15%)
Flags: SELECTED

Redgards,

Bike Hsu
System Enginner.
Hoshin Gigamedia Center Inc.
mailto:bike@hgc.com.tw, http://www.giga.net.tw
Received on Mon May 24 1999 - 09:16:19 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:24 MST