Subject: Re: CPU loop problem
To: George E. Navas <navas@nas.nasa.gov>
From: Daniel Silen <sillen@ts.umu.se>
List: netbsd-help
Date: 09/29/1995 09:10:38
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-----