From toasty@home.dragondata.com  Thu Jan 15 12:20:47 1998
Received: from home.dragondata.com (toasty@home.dragondata.com [204.137.237.2])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA06440
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jan 1998 12:20:39 -0800 (PST)
          (envelope-from toasty@home.dragondata.com)
Received: (from toasty@localhost)
	by home.dragondata.com (8.8.5/8.8.5) id OAA05821;
	Thu, 15 Jan 1998 14:20:37 -0600 (CST)
Message-Id: <199801152020.OAA05821@home.dragondata.com>
Date: Thu, 15 Jan 1998 14:20:37 -0600 (CST)
From: Kevin Day <toasty@home.dragondata.com>
Reply-To: toasty@dragondata.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: nfsd process usage doesn't get accounted for 
X-Send-Pr-Version: 3.2

>Number:         5502
>Category:       kern
>Synopsis:       nfsd process usage doesn't get accounted for
>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:   Thu Jan 15 12:30:01 PST 1998
>Closed-Date:    Wed Mar 28 13:08:48 PST 2001
>Last-Modified:  Wed Mar 28 13:09:21 PST 2001
>Originator:     Kevin Day
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
DragonData
>Environment:

Heavily used nfsd server. Tested on 2.2.1, 2.2.5 and -current.

>Description:

nfsd's usage doesn't get tagged to it in 'top' or 'ps'.


>How-To-Repeat:

Run 'make buildworld -j4' on a client and watch the server.

last pid:  5612;  load averages:  2.22,  1.16,  0.88
14:17:43
122 processes: 2 running, 116 sleeping, 3 stopped, 1 zombie
CPU states:  7.8% user,  0.0% nice,  8.8% system,  0.7% interrupt, 82.7%
idle
Mem: 20M Active, 5404K Inact, 22M Wired, 6896K Cache, 7068K Buf, 8524K Free
Swap: 520M Total, 26M Used, 494M Free, 5% Inuse

  PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 5579 toasty   33   0   356K   748K RUN      0:00  2.22%  1.83% top
 3666 news     18   0   496K    92K pause    8:10  0.34%  0.34% nntpcached
19082 root      2   0  3764K  3556K select   2:50  0.31%  0.31% named
 5606 root      2   0   200K   608K sbwait   0:00  0.42%  0.08% ipop3d
 5590 bin       2   0   536K   744K sbwait   0:00  0.06%  0.04% httpd
  480 bin       2   0   872K   244K select   0:03  0.04%  0.04% httpsd
  167 root      2   0   224K    12K RUN      8:00  0.02%  0.02% nfsd

It's not so much as a bug as just an annoyance. I found our server with a
4.xx load average and couldn't figure out why... (a client was stuck in a
loop reading/writing random data)


>Fix:
	
Unknown

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Wed Mar 28 13:08:48 PST 2001 
State-Changed-Why:  
It looks like this has been fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=5502 
>Unformatted:
Kevin Day
