Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA09910; Fri, 29 Sep 95 22:39:50 EDT
Received: from SUN-LAMP.PC.CS.CMU.EDU by MIT.EDU with SMTP
	id AA20645; Fri, 29 Sep 95 22:39:22 EDT
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id WAA01057; Fri, 29 Sep 1995 22:39:27 -0400
Received: (from daemon@localhost) by pain.lcs.mit.edu (8.6.9/8.6.9) id EAA04194; Fri, 29 Sep 1995 04:28:53 -0400
Received: from ts.umu.se by pain.lcs.mit.edu (8.6.9/8.6.9) with SMTP id EAA04072 for <netbsd-help@NetBSD.ORG>; Fri, 29 Sep 1995 04:10:50 -0400
Received: from stalin.ts.umu.se by ts.umu.se with smtp
	(Smail3.1.28.1 #10) id m0syaWk-0000HCC; Fri, 29 Sep 95 09:10 DST
Date: Fri, 29 Sep 1995 09:10:38 +0100 (DST)
From: Daniel Silen <sillen@ts.umu.se>
To: "George E. Navas" <navas@nas.nasa.gov>
Cc: netbsd-help@NetBSD.ORG
Subject: Re: CPU loop problem
In-Reply-To: <Pine.SGI.3.91.950928173648.8792B-100000@win31.nas.nasa.gov>
Message-Id: <Pine.A32.3.91.950929090505.20145A-100000@stalin.ts.umu.se>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Sender: owner-netbsd-help@NetBSD.ORG
Precedence: list
X-Loop: netbsd-help@NetBSD.ORG

On Thu, 28 Sep 1995, George E. Navas wrote:

>=20
> I'm currently running NETBSD 1.0 and it works great. However, at times
> it appears that if a telnet connection is dropped and you are in the
> middle of vi, the vi command goes into a loop consuming all of the CPU.
> I was wondering if anybody else encountered a similar problem or has
> any info on why this happens.=20
>=20
> Thanks in Advance
>=20
Vi? That way a new one...
We are running AIX on a couple of RS6000, and has the same problem mainly=
=20
with elm and pine.

I think the cause simply is that the program looses connection with the=20
terminal, but don't "understand it".
It simply keep trying to get userdata from the tty that not is=20
responding, thus ending up in an endless loop.

If there is a solution to the problem, I'm unaware of it. We simply=20
solved it by creating a crontab-job, that looks for pine / elm -
processeses that uses more than 20% of the CPU.

Hope someone else knows better :-)

/Sillen
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Daniel Silen |  sillen@ts.umu.se  | Historiegr 8A-103 | +46 90 196 889
             |  dvldsn@cs.umu.se  |    907 34 Ume=E5    | +46 10 6952451
             | sillen@tc.multi.se |       Sweden      |
            Comp. science stud. @ Ume=E5 University, Sweden
              Sysadm @ TSDF & Email-support:er @ UmDaC
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- H+ s+:- a- C++ UAB++++ P+++ L+ E(-) W+++ N++ o-- K? w-- !O M- V
PS PE Y+ PGP++@ t+ 5 X R tv b++ DI? D+ G e>+++ h+ r z+
------END GEEK CODE BLOCK------
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6

mQBNAi552PkAAAECALrm306v7L/gyAeBVYj9vD24ZxrS8rpMIUVzVvICaDDy8HHp
Hb0wWrNWf4qbIv0wgTAMyraoCjJW4/1nX+7DI3kABRG0MkRhbmllbCBTaWxlbiA8
ZHZsZHNuQGNzLnVtdS5zZT4gPHNpbGxlbkB0cy51bXUuc2U+tB9EYW5pZWwgU2ls
ZW4gPGR2bGRzbkBjcy51bXUuc2U+iQBVAgUQLn8MsuP9Z1/uwyN5AQE2dAH/UqZy
tmN5A4LH8fu+iBIpWfDuCiHAXPFsIBMp+RtFQkqDWCSnot7eqVphPl0I+eeA2Dcs
T1jMQyxTlY+PZGWL8w=3D=3D
=3D8FW1
-----END PGP PUBLIC KEY BLOCK-----

