From owner-freebsd-bugs Fri Nov 19 10:50:14 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 72A86152D8 for ; Fri, 19 Nov 1999 10:50:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA87352; Fri, 19 Nov 1999 10:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Fri, 19 Nov 1999 10:50:01 -0800 (PST) Message-Id: <199911191850.KAA87352@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Campbell Subject: Re: misc/14932: "more" eating up CPU on users with shell=/bin/sh if telnetd disconnects Reply-To: Bruce Campbell 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: Bruce Campbell To: freebsd-gnats-submit@freebsd.org, bruce@engmail.uwaterloo.ca Cc: Subject: Re: misc/14932: "more" eating up CPU on users with shell=/bin/sh if telnetd disconnects Date: Fri, 19 Nov 1999 13:42:01 -0500 The problem persists on 3.3 STABLE from Nov 17. Our e-mail server, which is heavily loaded regularly (load average 5-10 quite often), is pushed over the edge once a few "more" processes start spinning, and the load average can climb to 20 or 30, rendering the e-mail server unuseable for all practical purposes. On our test machine that we upgraded to 3.3 STABLE, the source for /bin/sh is unchanged from 3.3 RELEASE. The source for /usr/bin/more has a number of changed files on Nov 17. Results on test machine... # uname -a FreeBSD elsinore.uwaterloo.ca 3.3-STABLE FreeBSD 3.3-STABLE #0: Thu Nov 18 13:36:03 EST 1999 root@elsinore.uwaterloo.ca:/usr/src/sys/compile/ELSINORE i386 # ps waux | grep junk root 11183 0.0 1.3 876 380 p6 D+ 1:03PM 0:00.01 grep junk junk 11177 0.0 0.9 500 256 p5 Ss 1:02PM 0:00.03 -sh (sh) junk 11178 0.0 1.8 860 508 p5 S+ 1:02PM 0:00.01 more /etc/passwd # kill -KILL 11177 # !ps ps waux | grep junk junk 11178 7.1 1.7 860 492 p5- R 1:02PM 0:01.61 more /etc/passwd # "top" outout... PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 11178 junk 100 0 860K 492K RUN 7:21 98.97% 98.97% more To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message