Hang in NFS-mounted directory

Mikhail Teterin mi+mx at aldan.algebra.com
Tue Jul 26 21:04:48 GMT 2005


I'm currently seeing an NFS-hang, which will probably cause me to reboot an 
otherwise happy system.

A java process was overwriting files in an NFS-mounted directory, when I tried 
to Ctrl-C it (always worked before). The process is now hung in "nfrslk" 
state:

	load: 1.65  cmd: java 53499 [nfrslk] 0.07u 0.02s 0% 8956k

An attempt at regular umount of the filesystem is hanging in "nfs" state:

	% umount /tmp/.a/beaker/host/beaker
	load: 1.33  cmd: umount 53521 [nfs] 0.00u 0.07s 0% 820k

A subsequent attempt at forced umount is in "vfs_busy":

	% umount -f /tmp/.a/beaker/host/beaker
	load: 1.33  cmd: umount 53526 [vfs_busy] 0.00u 0.05s 0% 644k

I have restarted the /etc/rc.d/nfslocking and /etc/rc.d/nfsclient -- no 
change. How can I help fix this problem? I'm using 5.4-STABLE as of July 7th.

Thanks!

	-mi


More information about the freebsd-stable mailing list