Bug 29611

Summary: nfsd eats 100% cpu when run without TCP support
Product: Base System Reporter: Dane Foster <dene>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description Dane Foster 2001-08-10 18:30:01 UTC
nfsd, when run with '-u -n 1' will sit at 100% cpu usage

Fix: 

add the -t flag, nfsd -t -u -n 1
How-To-Repeat: kill -9 nfsd ; nfsd -u -n 1
Comment 1 iedowse freebsd_committer freebsd_triage 2001-08-26 12:21:46 UTC
State Changed
From-To: open->feedback


Thomas Moestl had a patch for this problem. I've put a version of 
that patch at: 

http://www.maths.tcd.ie/~iedowse/FreeBSD/tmm_nfsd.diff 

Could you try it, and see if it helps? I think Thomas wasn't happy 
with a few aspects of the patch, but it's been sitting around for 
a few months now so it might be worth committing it anyway.
Comment 2 iedowse freebsd_committer freebsd_triage 2001-10-20 22:34:55 UTC
State Changed
From-To: feedback->closed


Fixed in revision 1.22 of nfsd.c.