From nobody  Wed Feb  5 13:06:06 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id NAA11915;
          Wed, 5 Feb 1997 13:06:06 -0800 (PST)
Message-Id: <199702052106.NAA11915@freefall.freebsd.org>
Date: Wed, 5 Feb 1997 13:06:06 -0800 (PST)
From: arlie@thepoint.net
To: freebsd-gnats-submit@freebsd.org
Subject: Run-away processes using all CPU time
X-Send-Pr-Version: www-1.0

>Number:         2671
>Category:       bin
>Synopsis:       Run-away processes using all CPU time
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb  5 13:10:02 PST 1997
>Closed-Date:    Wed Mar 31 13:57:30 PST 1999
>Last-Modified:  Wed Mar 31 23:39:03 PST 1999
>Originator:     Arlie Davis
>Release:        2.1.6.1
>Organization:
ThePoint Internet Services, Inc.
>Environment:
FreeBSD access.thepoint.net 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #0: Sun Jan 12 2
2:54:42  1997     root@access.thepoint.net:/usr/src/sys/compile/ACCESS  i386
>Description:
PPPD and several other programs apparently do not correctly receive the SIGHUP signal when a user hangs up on a serial line or closes a Telnet session.  This uses 100% of CPU time and renders the serial port useless until the process is noticed and killed.  This also happens with Lynx, Pine, vi, and other text-based programs (not just pppd).

This problem occurs under all versions of FreeBSD that I have tried, including 2.1.0, 2.1.5, 2.1.6, and 2.2-961014-SNAP.
>How-To-Repeat:
Dial in, start PPP session, hangup line WITHOUT notifying peer PPP process
>Fix:

>Release-Note:
>Audit-Trail:

From: j@uriah.heep.sax.de (J Wunsch)
To: arlie@thepoint.net
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/2671: Run-away processes using all CPU time
Date: Thu, 6 Feb 1997 00:02:15 +0100

 As arlie@thepoint.net wrote:
 
 (Please, restrict your line length to a reasonable value.  Better use
 a mail software that assists you in this.)
 
 > PPPD and several other programs apparently do not correctly receive
 > the SIGHUP signal when a user hangs up on a serial line or closes a
 > Telnet session.  This uses 100% of CPU time and renders the serial
 > port useless until the process is noticed and killed.  This also
 > happens with Lynx, Pine, vi, and other text-based programs (not just
 > pppd).
 
 > This problem occurs under all versions of FreeBSD that I have tried,
 > including 2.1.0, 2.1.5, 2.1.6, and 2.2-961014-SNAP.
 
 Your line setup must be faulty, it seems your modem doesn't raise/
 drop the DCD signal (or you have accidentally configured your port to
 ignore modem signalling).
 
 However, you're right in that those programs shouldn't eat up the CPU
 but instead correctly terminate once they saw an excessive number of
 EIOs on their input channel.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Wed Mar 31 13:57:30 PST 1999 
State-Changed-Why:  
Although this problem is by no means solved, the bug report will 
never be sorted out in its current form. 
Can the originator please file more specific bug reports, one per 
program - then people that maintain each program may have the 
incentive to fix them :-) 
>Unformatted:
