From owner-freebsd-bugs Mon May 8 21:20: 5 2000 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 6CA4137B632 for ; Mon, 8 May 2000 21:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA56696; Mon, 8 May 2000 21:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 8 May 2000 21:20:02 -0700 (PDT) Message-Id: <200005090420.VAA56696@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Tim Vanderhoek Subject: Re: misc/14932: "more" eating up CPU on users with shell=/bin/sh if telnetd disconnects Reply-To: Tim Vanderhoek Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/14932; it has been noted by GNATS. From: Tim Vanderhoek To: bruce@engmail.uwaterloo.ca Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/14932: "more" eating up CPU on users with shell=/bin/sh if telnetd disconnects Date: Tue, 9 May 2000 00:12:44 -0400 On Tue, Nov 16, 1999 at 05:26:16PM -0800, bruce@engmail.uwaterloo.ca wrote: > > >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 I've fixed more to exit after it reads two EOFs, but the more serious problem here, of course, is that /bin/sh isn't propogating signals correctly. The updated more is in -current and 4-stable. I'm not sure if I'll merge it all the way back to 3-stable unless you need it there. Being from the evil university, you'd have to ask really really nicely... ;-) -- Signature withheld by request of author. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message