Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2001 23:39:56 +0100
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        freebsd-stable@freebsd.org
Subject:   Userland PPP hanging instead of terminating
Message-ID:  <20010304233956.A21707@melusine.cuivre.fr.eu.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010304233956.A21707>