From: John McCorquodale Subject: 100% repeatable NFS v3 client hang Date: Thu, 14 Jun 2007 10:04:37 -0700 Message-ID: <20070614170437.GB1597@danse.us> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1HyskF-0002xp-I9 for nfs@lists.sourceforge.net; Thu, 14 Jun 2007 10:04:27 -0700 Received: from danse-head.cacr.caltech.edu ([131.215.145.66] helo=w0.cacr.caltech.edu) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HyskH-0002uU-C8 for nfs@lists.sourceforge.net; Thu, 14 Jun 2007 10:04:30 -0700 List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net Guys, I've been having a reliable problem with NFS v3 since 2.6.19 (possibly earlier; I didn't test), and just confirmed still present in 2.6.21.5 (x86_64). The problem is that issuing the command: $ dd if=/dev/zero of=biggy bs=1G count=50 100% reliably results in a hung client and completely idle server after a few (different each time, usually between 5 and 10) GB have been written. No output via dmesg at all. Sometimes, however, when not writing large files, I'll see an occasional dmesg "NFS: desynchronized value of nfs_i.ncommit." It proceeds at about 30MB/s until the client eats it, and then it never wakes up again. The root fs is mounted via nfs v3, so once it eats it I can't log on or anything. Serial console outputs no information during/after the eat-it condition, so it's not a panic. Pings continue. Feels deadlocky. I saw an old dicussion/patch about something that sounded like my problem here: http://lkml.org/lkml/2007/4/21/112 but this old kernel+patch did not fix my problem. This problem has been reliable and present for months for me, and I assumed that it was so obvious that anybody would see it immediately, and thus concluded that 'nobody was working on v3 anymore'. Enough eyebrows were raised by that comment by my post on the v4 list this morning: http://linux-nfs.org/pipermail/nfsv4/2007-June/006183.html that I am forced to re-evaluate that conclusion -- it appears likely that this may be something unique to my configuration or personal luck. The only thing at all weird about my platform is that the servers (not the clients) are nvidia forcedeth gigE, which has never inspired my confidence. The forcedeth in 2.6.21 seems fine, 'tho, as it regularly sends >800GB via nc for backups without hiccup or incident. Anyway, last bit of data is that I just switched to nfs4 and the problem is gone. I have successfully dd'd four 50G files-of-zeros simultaneously with no ill effects. Anyway, I have a shadow server/client that I could conceivably bring v3 up on and run tests with if you guys would like to use me as a debugging agent or would like something to log in to. I was going to ignore this, but when Trond's eyebrows went up on the v4 list, I figured I ought to get off my duff and report it. Cheers, -mcq P.S. If this comes thru twice, my apologies. I wasn't subscribed the first time I sent it and I assume it got blackholed. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs