Date: Tue, 9 May 2000 09:44:54 +0200 From: Martin Cracauer <cracauer@cons.org> To: Tim Vanderhoek <vanderh@ecf.utoronto.ca> Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/14932: "more" eating up CPU on users with shell=/bin/sh if telnetd disconnects Message-ID: <20000509094453.A16783@cons.org> In-Reply-To: <200005090420.VAA56696@freefall.freebsd.org>; from vanderh@ecf.utoronto.ca on Mon, May 08, 2000 at 09:20:02PM -0700 References: <200005090420.VAA56696@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In <200005090420.VAA56696@freefall.freebsd.org>, Tim Vanderhoek wrote: > The following reply was made to PR misc/14932; it has been noted by GNATS. > > From: Tim Vanderhoek <vanderh@ecf.utoronto.ca> > 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. Could you please be more specific and/or see if the problem is in later /bin/sh as well? Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/ Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 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?20000509094453.A16783>