From owner-freebsd-stable Sun Mar 4 14:40: 8 2001 Delivered-To: freebsd-stable@freebsd.org Received: from melusine.cuivre.fr.eu.org (ppp72-net1-idf3-bas1.isdnet.net [195.154.52.72]) by hub.freebsd.org (Postfix) with ESMTP id E759937B718 for ; Sun, 4 Mar 2001 14:39:58 -0800 (PST) (envelope-from thomas@cuivre.fr.eu.org) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id F017124D03; Sun, 4 Mar 2001 23:39:56 +0100 (CET) Date: Sun, 4 Mar 2001 23:39:56 +0100 From: Thomas Quinot To: freebsd-stable@freebsd.org Subject: Userland PPP hanging instead of terminating Message-ID: <20010304233956.A21707@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am using pptpclient with the userland PPP daemon, and have been occasionally encountering the following situation: * for some reason, the data link layer (here, a PPTP tunnel) goes down; * ppp closes the LCP... * ...but the PPP process hangs indefinitely rather than terminating. Here is an excerpt of ppp.log: Mar 4 22:40:14 melusine ppp[19179]: tun0: Phase: deflink: Disconnected! Mar 4 22:40:14 melusine ppp[19179]: tun0: Phase: deflink: Connect time: 105 sec s: 931 octets in, 1214 octets out Mar 4 22:40:14 melusine ppp[19179]: tun0: Phase: deflink: : 13 packets in, 38 p ackets out Mar 4 22:40:14 melusine ppp[19179]: tun0: Phase: total 20 bytes/sec, peak 97 b ytes/sec on Sun Mar 4 22:40:14 2001 Mar 4 22:40:14 melusine ppp[19179]: tun0: Phase: deflink: lcp -> closed Mar 4 22:40:14 melusine ppp[19179]: tun0: Phase: bundle: Dead The next line should be a tun0: Phase: PPP Terminated (normal). but this does not occur, and pid 19179 is hanging, blocked in a tunread that won't return. Is this a known problem? I have observed this behaviour on a 4.2-STABLE system. Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message