Bug 168942 - [nfs] [hang] nfsd hangs after being restarted (not -HUP) and then an export being mounted
Summary: [nfs] [hang] nfsd hangs after being restarted (not -HUP) and then an export b...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.3-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-11 10:20 UTC by Peter Maloney
Modified: 2017-12-31 22:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Maloney 2012-06-11 10:20:07 UTC
Here is my forum thread about it, with more detail:

http://forums.freebsd.org/showthread.php?t=26727

If I run this command:
# /etc/rc.d/rpcbind restart ; /etc/rc.d/mountd restart ; /etc/rc.d/nfsd restart

And then try to mount an export somewhere:
# mount -v -t nfs bcnas1bak:/tank/test test

Then the mount command eventually times out, and the server's nfsd process goes up to 130% or so CPU and will never work again until rebooting.

I also tried variations on it, eg. changing the order, stopping all first, waiting in between starting them, using kill -9 and double checking the 3 are shut down, etc. 

The system runs zfs

How-To-Repeat: on nfs server:

# /etc/rc.d/rpcbind restart ; /etc/rc.d/mountd restart ; /etc/rc.d/nfsd restart

on nfs client (tested FreeBSD 8.3, Ubuntu and openSUSE Linux):

# mount -v -t nfs bcnas1bak:/tank/test test
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-06-17 23:39:40 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-fs

reclassify.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:52 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped