Vodicka Martin wrote:
> Controlling my filesystem with the Cache Manager I see that the value
> for the file-system-size cache03b is much larger (273580 KB)!
>
> My question is: why?
Squid only thinks it has stored 178943 KB (the Current Size entry).
The filesystem has some overhead which adds to this, and maybe you have
a core file from a Squid crash or a huge swap.state index (grows large
if Squid is running for a long time without rotating log files)
One way to find out if Squid is correct in how much it has stored is to
count the number of bytes stored in the cache directories:
expr `find /usr/local/squid/cache03b/?? -type f -print | xargs cat | wc
-c` / 1024
> Cache Manager (Store Directory Stats):
> First level subdirectories: 16
> Second level subdirectories: 256
> Maximum Size: 204800 KB
> Current Size: 179843 KB
> Percent Used: 87.81%
> Filemap bits in use: 19402 of 31507 (62%)
> Filesystem Space in use: 273580/1007616 KB (27%)
> Filesystem Inodes in use: 29529/251904 (12%)
> Flags: SELECTED
-- Henrik Nordstrom Squid hackerReceived on Fri Oct 22 1999 - 19:49:57 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:02 MST