size problem with cache dirs

From: Gerard GACHELIN <gg@dont-contact.us>
Date: Mon, 02 Nov 1998 12:06:50 +0100

Hello,

I am using squid 2.0 PATCH2 on a FreeBSD paltform (V2.2.5).

I have a strange problem with the cache dirs size.

In squid.conf I have :

cache_dir /cache1 3000 16 256
cache_dir /cache2 3000 16 256

(6 GB of swap space)

But cachemgr shows in the Store Directory Statistics :

Store Directory Statistics:
Store Entries : 275223
Maximum Swap Size : 4697041 KB
                          ^^^^^^^^^^^ IT SHOULD BE > 6000000 KB
Current Store Swap Size: 3412250 KB
Current Capacity : 73% used, 27% free

Store Directory #0: /cache1
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 3072000 KB
Current Size: 1792169 KB
Percent Used: 58.34%
Filemap bits in use: 145621 of 472615 (31%)
Flags: SELECTED

Store Directory #1: /cache2
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 1625041 KB
              ^^^^^^^^^^ IT SHOUKD BE 3072000 KB, as for #0
Current Size: 1620081 KB
Percent Used: 99.69%
Filemap bits in use: 129451 of 472615 (27%)

And here is what says df -k :

/dev/sd0s1g 3368563 1873645 1225433 60% /cache1
/dev/sd1s1f 3368563 1646001 1453077 53% /cache2

Any idea ?

-- 
**********************************************************
* Gerard GACHELIN                   e-mail : gg@lirmm.fr * 
* LIRMM (UMR 5506 CNRS/UMII)        MONTPELLIER (FRANCE) *
* WWW LIRMM Home Page               http://www.lirmm.fr/ *
**********************************************************
Received on Mon Nov 02 1998 - 04:17:27 MST

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