Subject: bin/3727: rsh - cpu hog
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 06/08/1997 16:06:48
>Number:         3727
>Category:       bin
>Synopsis:       rsh grabs 86% cpu time, 80% system time
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun  8 16:20:01 1997
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Release:        sup-ped jun 7, 97
>Environment:
	System: NetBSD capsicum.wsrcc.com 1.2F NetBSD 1.2F (WSRCC) #26: Sat Jun 7 13:43:22 PDT 1997 root@capsicum.wsrcc.com:/usr/src/sys/arch/i386/compile/WSRCC i386


>Description:
>How-To-Repeat:
	In a directory that has an active cvs over rsh link run:

	CVS_RSH=/usr/bin/rsh cvs update

	In another window run top.  Observe the system % and the load.

load averages:   0.93,  0.53,  0.43                                    13:41:39
77 processes:  2 running, 75 idle
Cpu states: 19.8% user,  0.2% nice, 80.0% system,  0.0% interrupt,  0.0% idle
Memory: Real: 42M/102M act/tot  Virt: 4371M/5083M act/tot  Free: 29M

  PID USERNAME PRI NICE  SIZE   RES STATE WAIT     TIME    CPU COMMAND
24766 wolfgang  76    0   84K  404K run   -        0:44 86.43% rsh

Note: this doesn't happen on a similarly setup netbsd 1.2 machine.  It
only appears under my -current setup.

>Fix:
	Exact cause still unknown.  This is just a heads up...



>Audit-Trail:
>Unformatted: