Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 1999 10:50:01 -0800 (PST)
From:      Bruce Campbell <bruce@engmail.uwaterloo.ca>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/14932: "more" eating up CPU on users with shell=/bin/sh if  telnetd disconnects
Message-ID:  <199911191850.KAA87352@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: Bruce Campbell <bruce@engmail.uwaterloo.ca>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911191850.KAA87352>