From owner-freebsd-questions Fri Sep 22 14:55:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom0-061.telepath.com [216.14.0.61]) by hub.freebsd.org (Postfix) with SMTP id 7DAE937B424 for ; Fri, 22 Sep 2000 14:55:11 -0700 (PDT) Received: (qmail 89699 invoked by uid 100); 22 Sep 2000 21:55:09 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14795.54589.796070.954609@guru.mired.org> Date: Fri, 22 Sep 2000 16:55:09 -0500 (CDT) To: groggy@iname.com Cc: questions@freebsd.org Subject: Re: losing controlling terminal In-Reply-To: <78511504@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG groggy@iname.com writes: > FBSD 3.51 > why is it that when you lose the controlling > terminal (such as an MS client killing a TELNET window) > the processes activated by that window on the FBSD server > keep running - i sometimes see my HD LED light on cuz > 2 process of "lynx" or somehting are eating up 50% each > of my CPU time - cuz a user killed their telnet client. I suspect it's a bug in lynx (or something). It's ignoring HUP signals and EOFs while doing raw I/O from the terminal, so it sits there getting an EOF and not being happy about it. Use gcore to get a core image or use gdb on the process to figure out where it is and what it's doing. Then fix it :->.