[19899] in Athena Bugs
afsd: "Cache partition is full"
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Thu Oct 18 11:48:45 2001
Message-Id: <200110181548.LAA22681@multics.mit.edu>
To: bugs@MIT.EDU
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 18 Oct 2001 11:48:43 -0400
From: "Jacob Morzinski" <jmorzins@MIT.EDU>
This may be one of the "we can't do anything about that" bugs,
but at least I'll report it:
I compiled a large software pakcage on csw.mit.edu, a Sun Blade
machine. The source tree is 200 MB, the object tree is 1,600 MB,
and it's all in AFS. The build uses "gmake -j4".
csw has AFSADJUST=true. The /dev/dsk/c0t0d0s3 partition is
246463 kB, and /usr/vice/cacheinfo specifies a size of 184847.
The compile stopped two times with an AFS error warning about a
full cache:
*** Cache partition is full - decrease cachesize!!! ***
The first "partition full" error happened when I filled a single
large partition to 660 MB size. I split things out into smaller
partitions, and later on got a second "partition full" error
despite the smaller sizes.
Neither time was I on hand to look at df during the error. I
watched df output after the second error, and noticed that the
output fluctuates. Some of the fluctuations I saw seemed to go
above the cache limit size. Four sample output lines:
coleco-sidewinder{166}% df -k /usr/vice/cache
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s3 246463 175568 46249 80% /var/usr/vice
[..again..]
/dev/dsk/c0t0d0s3 246463 161644 60173 73% /var/usr/vice
[..again..]
/dev/dsk/c0t0d0s3 246463 196680 25137 89% /var/usr/vice
[..again..]
/dev/dsk/c0t0d0s3 246463 166939 54878 76% /var/usr/vice
No matter which way it's counted, the third line's 196680 kB is
greater than the 184847 specified for the cache.
afsd seems willing to temporarily exceed its cache size.
Should it be doing this?
-Jacob