Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Nov 2010 15:21:47 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        josh.carroll@gmail.com
Cc:        rmacklem@uoguelph.ca, freebsd-stable@freebsd.org
Subject:   Re: NFS deadlock (unkillable nfsd and no mounts work)
Message-ID:  <4CD404EB.4090005@icyb.net.ua>
In-Reply-To: <AANLkTikHKAL4m_fHjnoJBwFkD7xwKpa92uHLkMzzvm2p@mail.gmail.com>
References:  <AANLkTikHKAL4m_fHjnoJBwFkD7xwKpa92uHLkMzzvm2p@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <pid>' next time this happens.


-- 
Andriy Gapon



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