Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2001 10:05:40 +0100 (CET)
From:      regnauld@td.rh.dk
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/25245: system deadlock via loopback NFS (maybe jail)
Message-ID:  <20010221090540.C4996B946@aylee.td.rh.dk>

next in thread | raw e-mail | index | archive | help

>Number:         25245
>Category:       kern
>Synopsis:       mounting NFS to/from same host + activity will eventually lock up all processes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 21 01:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Phil Regnauld
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Copenhagen Kingdom Hospital - Rigshospitalet
>Environment:
System: FreeBSD beurk.balder 4.2-STABLE FreeBSD 4.2-STABLE #0: Tue Jan 30 23:41:34 CET 2001     regnauld@beurk.balder:/var/obj/var/src/sys/BEURK  i386

	
>Description:
	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).

>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

>Fix:

	No known workaround for this particular setup...

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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