Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 03:00:04 -0800 (PST)
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/14932: "more" eating up CPU on users with shell=/bin/sh if telnetd disconnects 
Message-ID:  <199911171100.DAA00423@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/14932; it has been noted by GNATS.

From: Sheldon Hearn <sheldonh@uunet.co.za>
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: Wed, 17 Nov 1999 12:53:08 +0200

 On Tue, 16 Nov 1999 17:26:16 PST, bruce@engmail.uwaterloo.ca wrote:
 
 > 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
 
 Hi Bruce,
 
 As per my message sent earlier, please test with with 3.3-STABLE.
 I can't reproduce the problem with 3.3-STABLE, and if a problem in
 3.3-RELEASE doesn't exist in 3.3-STABLE, there's nothing we can do about
 it now.
 
 Also, note that the problem is not that more "eats up CPU" -- I'm pretty
 sure it's just spinning on input, so if the system got busier, you'd
 probably find that the CPU usage of the more processes would flatten
 out.
 
 The problem is simply that the children of the shell process should die
 when you kill the shell.
 
 Ciao,
 Sheldon.
 


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?199911171100.DAA00423>