Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 1999 17:26:16 -0800 (PST)
From:      bruce@engmail.uwaterloo.ca
To:        freebsd-gnats-submit@freebsd.org
Subject:   misc/14932: "more" eating up CPU on users with shell=/bin/sh if telnetd disconnects
Message-ID:  <19991117012616.C667414F9B@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         14932
>Category:       misc
>Synopsis:       "more" eating up CPU on users with shell=/bin/sh if telnetd disconnects
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 16 17:30:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Campbell
>Release:        3.3 RELEASE
>Organization:
University of Waterloo
>Environment:
FreeBSD elsinore.uwaterloo.ca 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Thu Sep 16 23:
40:35 GMT 1999     jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC  i386

>Description:
On 3.3 RELEASE, on a user with login shell of /bin/sh,
if a user runs "more /etc/passwd" (or something) and then
has their /bin/sh or telnetd killed (either manually with
kill -9 or if the telnetd keepalive mechanism terminates a
disconnected connection) "more" starts spinning, and quickly goes to
the top of "top", eating 50% CPU or more

>How-To-Repeat:
set login shell = /bin/sh
login
type
  more /etc/passwd
walk away after one screenful, go to another terminal, from
root determine their parent /bin/sh or telnetd, and kill
it with SIGKILL.  Run "top" and see "more" chugging

Problem is repeatable on 3 different boxes, and I received a
response from offsite from Douglas Hedges <hedges@atlantic.edu>
who repeated the problem on 3.3R.  Also had feedback from offsite from
Sheldon Hearn <sheldonh@uunet.co.za> who tried 3.3 STABLE and could
*not* repeat the problem.
>Fix:
2 fixes known...

 - use login shell = /bin/csh
 - use 3.1 RELEASE

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991117012616.C667414F9B>