From owner-freebsd-stable@FreeBSD.ORG Fri Nov 5 13:21:52 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D28D106566C for ; Fri, 5 Nov 2010 13:21:52 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id B03C38FC21 for ; Fri, 5 Nov 2010 13:21:51 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA13409; Fri, 05 Nov 2010 15:21:48 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4CD404EB.4090005@icyb.net.ua> Date: Fri, 05 Nov 2010 15:21:47 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.11) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.5 MIME-Version: 1.0 To: josh.carroll@gmail.com References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: rmacklem@uoguelph.ca, freebsd-stable@freebsd.org Subject: Re: NFS deadlock (unkillable nfsd and no mounts work) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 13:21:52 -0000 on 05/11/2010 07:35 Josh Carroll said the following: > Greetings! > > I'm having a problem with nfsd hanging and not serving mount points, > during which time it can not not be killed. This problem started > happening sometime after November 2nd, since kernel from 11/2 sources > does not exhibit this problem. > > The current kernel I'm running is via SVN I just grabbed this evening > (around 5pm PDT on November 4th), but I was having the same problem > yesterday around 9pm PDT after a csup yesterday (I switched to SVN > today to rule out a stale /usr/src from an out of sync cvsup mirror). > Here are the svn details: > > Path: /usr/src > URL: svn://svn.freebsd.org/base/stable/8 > Repository Root: svn://svn.freebsd.org/base > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > Revision: 214807 > Node Kind: directory > Schedule: normal > Last Changed Author: jhb > Last Changed Rev: 214791 > Last Changed Date: 2010-11-04 10:25:31 -0700 (Thu, 04 Nov 2010) > > uname -a: > > FreeBSD 8.1-STABLE FreeBSD 8.1-STABLE #0 r214807: Thu Nov 4 17:13:05 > PDT 2010 root@pflog.net:/usr/obj/usr/src/sys/PFLOG amd64 > > I have a Popcorn Hour, and as soon as I try to connect to my NFS mount > with it, it hangs on the Popcorn Hour, then eventually pops up a > message that says "Request cannot be processed". Likewise if I try to > mount it from my macbook, it hangs then later just says operation > timed out or something like that, after it hangs for quite a while. > > During this hang, there is nothing in /var/log indicating a problem > nor any other indications something is wrong, except that none of my > NFS mounts work and the nfsd process will not die. > > When I try to reboot the server, I wind up having to fsck all my > drives (except the ZFS one), since nfsd will not die. Even kill -9 > doesn't kill it (it's showing as in the D state): > > root 444 0.0 0.0 5812 1384 ?? D 9:30PM 0:00.00 nfsd: server (nfsd) You can try 'procstat -kk ' next time this happens. -- Andriy Gapon