Re: [squid-users] on disk cache is double cache_dir and swap used is very high

From: Adam <adam-s@dont-contact.us>
Date: Mon, 5 May 2003 15:34:46 -0700

Adam wrote:
> > As to the large cache: Cachemanager reports: Storage Swap size:
13555565 KB
> > 7GB: cache_dir aufs /cache 707256 16 256

Henrik wrote:
> Hmm.. this should not happen.
> Note: according to the above your cache_dir is set to 700 MB, not 7GB..

Are you sure that line is in K? I just posted that that must be a typo
because the conf file for aufs says that field is in MB:
   cache_dr aufs Directory-Name Mbytes L1 L2 [options]

So I just figured the large numbers I was seeing were because I had setSquid
to 707,256MB or 707GB. I switched it over to the ondisk

> What Squid version is this?
2.5STABLE2

> What does cachemgr report in "Store Directory Stats"? (full output
Store Directory Statistics:
Store Entries : 1834123
Maximum Swap Size : 724230144 KB
Current Store Swap Size: 13473066 KB
Current Capacity : 2% used, 98% free

Store Directory #0 (aufs): /cache
FS Block Size 1024 Bytes
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 724230144 KB
Current Size: 13473066 KB
Percent Used: 1.86%
Filemap bits in use: 1834016 of 2097152 (87%)
Filesystem Space in use: 13735238/17138978 KB (80%)
Filesystem Inodes in use: 1837987/4200000 (44%)
Flags: SELECTED
Removal policy: heap

I've stopped and started squid a couple of times since posting but tonight I
plan to reduce the cache size from 707256 to 7072 - since the cache is much
larger than that will it automatically pare it down or should I
re-initialized the /cache directory?

thanks,

Adam
Received on Mon May 05 2003 - 16:35:40 MDT

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