From owner-freebsd-afs@FreeBSD.ORG Thu May 20 17:19:53 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 843B7106566B for ; Thu, 20 May 2010 17:19:53 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 03E918FC14 for ; Thu, 20 May 2010 17:19:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 40C5B90215; Thu, 20 May 2010 19:19:51 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id khAkEI2Jgj+4; Thu, 20 May 2010 19:19:51 +0200 (CEST) Received: from pc861.math.uni-hamburg.de (pc861.math.uni-hamburg.de [134.100.222.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id 06A96901E1; Thu, 20 May 2010 19:19:51 +0200 (CEST) Message-ID: <4BF56F38.4040008@janh.de> Date: Thu, 20 May 2010 19:19:52 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100514 Thunderbird/3.0.4 MIME-Version: 1.0 To: Derrick Brashear References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <4BC4A5F1.6050406@janh.de> <4BC5EEB5.5050109@janh.de> <4BE01AF0.3080309@janh.de> <4BF2B962.50408@janh.de> <4BF2D461.8030302@janh.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: afs-list freebsd , Benjamin Kaduk Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2010 17:19:53 -0000 On 05/18/10 20:14, Derrick Brashear wrote: > On Tue, May 18, 2010 at 1:54 PM, Jan Henrik Sylvester wrote: >> On amd64, the listing of the directories was instant unlike on i386. Reading >> (small) files caused no problems, but I was able to crash the machine >> accessing some weird entry (some object that OpenAFS on Linux shows with "?" >> for the file permissions) and -- more realistically -- deadlock all access >> to afs upon trying to copy a large file to afs. > > does > cmdebug (yourhost) > return anything? - change to some afs-directory cmdebug: nothing - change to some afs-directory that uses krb login cmdebug: crashes the machine instantly - repeat both steps after reboot cmdebug: nothing - copying a small file cmdebug: reports something (I lost it, looked as if it was expected) - eventually copying of the small file finished (took very long) cmdebug: nothing - copying a large file cmdebug: nothing - copying takes forever (does nothing after a second, no reading) cmdebug: nothing >>> I expect that you will find AFS more usable if you set >>> kern.smp.disabled=1 in /boot/loader.conf, which will make your machine >>> effectively single-processor. >> >> I just tried that and copying a large file to afs caused a deadlock of afs, >> too. I guess it is not just SMP. The "protocol" above was with SMP enabled. I could repeat it with SMP disabled if you expect anything from it. (I did observe the same behavior with SMP disabled.) On a different machine, I was just changing afs directories and listing them calling cmdebug a few times in between. Nothing happened, but when I came back to the machine a few minutes later, it had deadlocked completely -- without copying data at all. I just found the first machine that I tried to reboot with its stalled copy process is now hanging completely, too. I would have tried to narrow down the circumstances that cause deadlocks, if both of the machines in front of me were not crashing so often... Cheers, Jan Henrik