Subject: kern/20522: nfsd hangs: lfs over nfs
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 02/28/2003 12:57:52
>Number: 20522
>Category: kern
>Synopsis: nfsd hangs: lfs over nfs
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 28 03:58:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Lubomir Sedlacik
>Release: NetBSD 1.6P (Fri Feb 28 01:22:22 CET 2003)
>Organization:
>Environment:
System: NetBSD tesla 1.6P NetBSD 1.6P (TESLA-TOWER) #6: Fri Feb 28 01:22:22 CET 2003 root@tesla:/pub/obj/sys/arch/sparc64/compile/TESLA-TOWER sparc64
Architecture: sparc64
Machine: sparc64
>Description:
nfsd stops responding after writing ~800 files to the exported lfs file system
(cvs checkout). processes always end in the following state (100%
reproducible):
db> ps/w
PID COMMAND EMUL PRI UTIME STIME WAIT-MSG WAIT-CHANNEL
317 mountd netbsd 24 0.0 0.0 select selwait
306 lfs_cleanerd netbsd 50 0.0 0.1 segment 0x1fd9040
305 lfs_cleanerd netbsd 32 0.0 0.0 wait 0xd77ceb0
209 ksh netbsd 25 0.0 0.3 ttyin 0xccb2018
148 nfsd netbsd 24 0.0 0.0 nfsd 0x1e8be00
147 nfsd netbsd 24 0.0 0.0 nfsd 0x1e8a800
146 nfsd netbsd 20 0.0 1.6 vnlock 0xd854ce8
145 nfsd netbsd 4 0.0 6.1 genput 0x1d3bba0
143 nfsd netbsd 24 0.0 0.0 select selwait
111 rpcbind netbsd 24 0.0 0.0 select selwait
98 syslogd netbsd 24 0.0 0.0
7 aiodoned netbsd 4 0.0 4.0 aiodoned uvm+0x54
6 ioflush netbsd 17 0.0 8.5 lfs seglock 0x1fd9210
5 reaper netbsd 4 0.0 0.2 reaper deadproc
4 pagedaemon netbsd 4 0.0 28.0 pgdaemon uvm+0x40
3 lfs_writer netbsd 4 0.0 0.0 lfswriter lfs_writer_daemon
2 scsibus0 netbsd 16 0.0 0.0 sccomp 0x1df79b8
1 init netbsd 32 0.0 0.0 wait 0xd4bc000
0 swapper netbsd 4 0.0 0.0 scheduler proc0
i am using GENERIC kernel with the following lines added to kernel config:
options LFS_UBC
options NBUF=2048
options BUFPAGES=2048
>How-To-Repeat:
1) create a LFSv2 filesystem
2) export it through NFS
3) try to check out some large cvs repository from another machine to this fs
4) watch it hang after few minutes
>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: