Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2010 12:14:23 +0200
From:      Jan Henrik Sylvester <me@janh.de>
To:        Benjamin Kaduk <kaduk@MIT.EDU>
Cc:        afs-list freebsd <freebsd-afs@freebsd.org>, Derrick Brashear <shadow@dementia.org>
Subject:   Re: AFS on FreeBSD 8?
Message-ID:  <4BFCF47F.6060106@janh.de>
In-Reply-To: <alpine.GSO.1.10.1005252358120.29136@multics.mit.edu>
References:  <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <4BC4A5F1.6050406@janh.de> <alpine.GSO.1.10.1004131314070.29136@multics.mit.edu> <4BC5EEB5.5050109@janh.de> <alpine.GSO.1.10.1004141242470.29136@multics.mit.edu> <4BE01AF0.3080309@janh.de> <alpine.GSO.1.10.1005041225120.29136@multics.mit.edu> <4BF2B962.50408@janh.de> <alpine.GSO.1.10.1005181201010.29136@multics.mit.edu> <4BF2D461.8030302@janh.de> <AANLkTin_RGNLOzP2X2WaJwwq8Ae7pKJQbA6P6Wbth4U3@mail.gmail.com> <4BF56F38.4040008@janh.de> <alpine.GSO.1.10.1005201320510.29136@multics.mit.edu> <4BFBFA49.8040900@janh.de> <alpine.GSO.1.10.1005252358120.29136@multics.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/26/10 06:01, Benjamin Kaduk wrote:
> On Tue, 25 May 2010, Jan Henrik Sylvester wrote:
>
>>
>> I could try different file sizes... maybe around the cache size --
>> would that be interesting? (I have "/afs:/var/openafs/cache:100000" in
>> /usr/local/etc/openafs/cacheinfo. That is in KB, isn't it?)
>
> It is in KB, yes.
>
> I have some latent curiousity as to whether the cache size is a
> threshold for the hang, but don't have any ideas as to why that might be
> the case. No reason to do it unless you're testing other things (again)
> anyway, I think.

About Matt's advice: Unfortunately, I have never used ddb and I do not 
even know what "whatnot" is, sorry. Maybe, I will learn debugging some 
day, but not now. I could try to get another account for that afs -- 
would you want to try to reproduce it against that afs server?

I tried to copy files starting with 1KB and doubling the size.

1KB up to 64KB copied fine.

For 128KB, I got "Permission denied". Trying "ls" on the afs directory, 
I got all the file names and for each of them a "Permission denied". I 
did "kdestroy", "kinit", and "aklog", which reenabled afs access. Of the 
128KB, only 64KB got copied (I checked that it were indeed the first 
64KB of the file).

256KB copied fine (after the kdestroy-kinit-aklog-cycle).
512KB did not give an error, but only 448KB were copied.
1MB gave me "Permission denied" again and nothing was copied.
1MB copied fine after another kdestroy-kinit-aklog-cycle.
2MB did not give an error, but only 1664KB were copied.

4MB gave me "Permission denied" and after "kdestroy", the machine froze 
completely.

It does not seem to be the cache and there is not only locking going on 
but also corruption. (All this on SMP. I could try again with SMP disabled.)

Cheers,
Jan Henrik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BFCF47F.6060106>