From nobody@FreeBSD.org  Fri Aug 10 10:22:35 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 350A437B40A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Aug 2001 10:22:35 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f7AHMZi56097;
	Fri, 10 Aug 2001 10:22:35 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108101722.f7AHMZi56097@freefall.freebsd.org>
Date: Fri, 10 Aug 2001 10:22:35 -0700 (PDT)
From: Dane Foster <dene@slush.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: nfsd eats 100% cpu when run without TCP support
X-Send-Pr-Version: www-1.0

>Number:         29611
>Category:       i386
>Synopsis:       nfsd eats 100% cpu when run without TCP support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 10 10:30:01 PDT 2001
>Closed-Date:    Sat Oct 20 14:34:55 PDT 2001
>Last-Modified:  Sat Oct 20 14:36:22 PDT 2001
>Originator:     Dane Foster
>Release:        5.0-CURRENT
>Organization:
none
>Environment:
FreeBSD moo.powersurfr.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Aug  2 16:57:32 MDT 2001     root@moo.powersurfr.com:/usr/CUR/src/sys/i386/compile/mort5  i386

>Description:
nfsd, when run with '-u -n 1' will sit at 100% cpu usage
>How-To-Repeat:
kill -9 nfsd ; nfsd -u -n 1
>Fix:
add the -t flag, nfsd -t -u -n 1
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Aug 26 04:21:46 PDT 2001 
State-Changed-Why:  

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. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29611 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sat Oct 20 14:34:55 PDT 2001 
State-Changed-Why:  

Fixed in revision 1.22 of nfsd.c. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29611 
>Unformatted:
