From owner-freebsd-hackers Thu Aug 26 7:28: 7 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from phoenix.aye.net (phoenix.aye.net [206.185.8.134]) by hub.freebsd.org (Postfix) with SMTP id 690D315BBB for ; Thu, 26 Aug 1999 07:27:59 -0700 (PDT) (envelope-from barrett@phoenix.aye.net) Received: (qmail 14437 invoked by uid 1000); 26 Aug 1999 14:18:49 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 26 Aug 1999 14:18:49 -0000 Date: Thu, 26 Aug 1999 10:18:49 -0400 (EDT) From: Barrett Richardson To: Max Khon Cc: hackers@freebsd.org Subject: Re: dropped connections (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 26 Aug 1999, Max Khon wrote: > > hi, there! > > after upgrade to 3.2-STABLE from 2.2.8-STABLE we are experiencing problems > with closed telnet sessions. If a user drops connection (closes telnet > on his workstation without logging off) pdmenu, midnight commander and > other programs eat up all the CPU (99% CPU usage as reported by top) > Is there anything that changed between 2.x and 3.x and can cause > this affect? Is there any workaround? Please reply directly as I am not > subscribed > > /fjoe > That happens to me when I have some user interface that is reading user input from stdin. The user nukes his telnet session ungracefully and whatever is reading from stdin then gets fed info something like "not a tty" or some other message it does not consider valid input. It falls into a loop to process the input, can't make sense of it, so loops back for more user input, and gets the same message -- it repeats ad infinitum and is a bummer. - Barrett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message