Bug 25245

Summary: mounting NFS to/from same host + activity will eventually lock up all processes
Product: Base System Reporter: regnauld <regnauld>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description regnauld 2001-02-21 09:10:01 UTC
	When mounting an NFS exported FS where the client and the server are the same 
	(not explicitly using loopback, but using the ethernet IP), it is possible
	to lockup the system after some activity has occurred (usually some hours).

Fix: 

No known workaround for this particular setup...
How-To-Repeat: 	Example: (this has been repeatedly observed on a system running jail, but should
	be repeatable without).

	- export /src or some other directory containing with lots of data

	- mount myhost:/src /usr/src (for example)

	You then have a NFS mount of a local filesystem onto another mountpoint (very
	practical for jails with the ports collection)

	Go into that directory, and do for example a "make world".

	Processes will progressively hang until the machine will completely freeze
	(to the point where console switching is possible, but typing does not
	have any effect...)

	Has been observed with /ports nfs mounted to /usr/ports
Comment 1 iedowse freebsd_committer freebsd_triage 2001-11-19 01:59:34 UTC
State Changed
From-To: open->feedback


I believe Matt Dillon fixed this - have you seen it occur with 
more recent sources?
Comment 2 iedowse freebsd_committer freebsd_triage 2002-02-10 12:50:34 UTC
State Changed
From-To: feedback->closed


Submitter wasn't able to reproduce this on recent sources.