Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2010 12:52:15 -0400 (EDT)
From:      Benjamin Kaduk <kaduk@MIT.EDU>
To:        Jan Henrik Sylvester <me@janh.de>
Cc:        afs-list freebsd <freebsd-afs@freebsd.org>
Subject:   Re: AFS on FreeBSD 8?
Message-ID:  <alpine.GSO.1.10.1004141242470.29136@multics.mit.edu>
In-Reply-To: <4BC5EEB5.5050109@janh.de>
References:  <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <alpine.GSO.1.10.1004131220540.29136@multics.mit.edu> <4BC4A5F1.6050406@janh.de> <alpine.GSO.1.10.1004131314070.29136@multics.mit.edu> <4BC5EEB5.5050109@janh.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Apr 2010, Jan Henrik Sylvester wrote:

> On 04/13/2010 19:20, Benjamin Kaduk wrote:
>> On Tue, 13 Apr 2010, Jan Henrik Sylvester wrote:
>
> Sometimes access to afs takes a long time, for example the first 'ls' for a 
> server after 'cd /afs/SOMESERVER' takes a few minutes. The next few commands 
> only took a minute each, until it was at reasonable speed.
>
> Copying down a large file from secured afs worked pretty well (with about 
> half of the possible 100mbit bandwidth). The CPU system load was pretty high, 
> though: 12% on a C2Q.
>
> Then I tried to copy a file to afs... since then, afs hangs (even 'cd /afs' 
> in a different terminal hangs).

Fascinating.  I have been seeing almost precisely the reverse behavior -- 
I could write files into AFS without difficulty, but any attempt to read 
from AFS would cause the process to hang unkillably.  While that was hung,
other processes could traverse (at least parts of) /afs, though.

>
> Even if nothing uses afs, 'umount /afs' hangs, too, but I can still issue 
> 'afsd -shutdown' in a different terminal after that. Restarting afsd freezes 
> the machine, though.
>
> Overall, afs does not seem to be usable, but you did not promise anything 
> else.
>
> Is there any way to cleanly shut down afs and restart it for further tests 
> without reboot the machine?
>
> Where can I get the rc script Derrick was talking about?
>

I am given to understand that the rc script unloads and reloads the kernel 
module before restarting afsd; it should be in 
${WRKSRC}/src/afsd/afs.rc.fbsd .

That said, I haven't looked at it, and have just been rebooting my 
machine between tests.

> Any ideas for improvements? Should 8-STALBE instead of 8.0-RELEASE work 
> better? Any configuration changes I should try?

I don't expect -STABLE vs. -RELEASE to have much effect; I'm pretty sure 
these are openafs bugs.

Could you send a bit of detail about your machine, though?  Is it 
single-processor, 32-bit, etc.?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.1.10.1004141242470.29136>