[OpenAFS-port-darwin] Many crashes on OS X 10.3

Aaron Rosenblum arosenbl@mac.com
Mon, 10 Nov 2003 21:30:56 -0500


Well,

According to the startup item (/Library/StartupItems/OpenAFS/):

LARGE="-stat 2800 -dcache 2400 -daemons 5 -volumes 128"
MEDIUM="-stat 2000 -dcache 800 -daemons 3 -volumes 70"
SMALL="-stat 300 -dcache 100 -daemons 2 -volumes 50"

if [ -f $AFSDOPT ]; then
     OPTIONS=`cat $AFSDOPT`
else
     OPTIONS="$MEDIUM -fakestat"
fi

It seems like if you don't specify any options in afsd.options it picks 
"MEDIUM" and then uses fakestat mode.  Im not sure how it decides which 
mode to use "LARGE, MEDIUM, or  SMALL" otherwise.  Perhaps someone more 
familiar with how AFS actually works might like to comment.  It also 
could be that your problem isn't related to this, there could be a bug 
lurking around in the AFS code.  Anyone else care to comment? :-)  I'd 
say submit it as a bug anyways so at least apple is aware of it.  Esp 
since it sounds like you are using the same config as on 10.2 (wrt to 
config) and you didn't see the crashes there.

Aaron

On Nov 10, 2003, at 6:47 PM, Nicholas Riley wrote:
>>
>
> I have indeed changed the cache size (on the advice of this mailing
> list!) because I was seeing poor performance otherwise.  The machine
> has 512MB physical RAM.  I was under the impression that a larger
> cache only potentially wastes disk space.  What is a reasonable cache
> size to prevent instability?  We frequently copy media files of sizes
> 500 MB-1 GB to and from AFS, if that helps.