From owner-freebsd-bugs Tue Nov 16 17:30: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D82CA14F1C for ; Tue, 16 Nov 1999 17:30:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA43444; Tue, 16 Nov 1999 17:30:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id C667414F9B; Tue, 16 Nov 1999 17:26:16 -0800 (PST) Message-Id: <19991117012616.C667414F9B@hub.freebsd.org> Date: Tue, 16 Nov 1999 17:26:16 -0800 (PST) From: bruce@engmail.uwaterloo.ca To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/14932: "more" eating up CPU on users with shell=/bin/sh if telnetd disconnects Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 who repeated the problem on 3.3R. Also had feedback from offsite from Sheldon Hearn 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