[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PPTP 100% CPU Usage after disconnect




If i establish a connection with pptp and close this connection i get
100% CPU usage and in the log file i get thousand times :  Failed to
open /dev/pts/22: No such file or directory as below:

I'm using kernel version 2.6.15.3 and udev.

My assumption is that udev deletes the device before pppd has finished.

How can get round this ?


Feb 26 15:55:06 firewall pppd[32600]: Failed to open /dev/pts/22: No
such file or directory
Feb 26 15:55:06 firewall pppd[32600]: Failed to open /dev/pts/22: No
such file or directory
Feb 26 15:55:06 firewall pppd[32600]: Failed to open /dev/pts/22: No
such file or directory
...............


#####################
pppd-options:
#####################

debug
kdebug 7
ktune

name pptp-vpn-server
netmask 255.255.255.255
lock
-crtscts
local
lcp-echo-failure 6
lcp-echo-interval 30
ms-dns fred.homelinux.org

auth
require-mschap-v2
ppp_mppe.o
refuse-pap
refuse-chap
refuse-mschap
authentication.
require-mschap-v2
require-mppe-128
novj
novjccomp

##################
pptpd.conf:
##################

option /etc/ppp/pptpd-options
logwtmp
bcrelay eth0
localip 192.168.6.8
remoteip 192.168.6.200-220


regards

Fred Kastl



Log:

Feb 26 16:04:58 firewall pppd[6626]: Plugin
/usr/lib/pptpd/pptpd-logwtmp.so loaded.
Feb 26 16:04:58 firewall pppd[6626]: pptpd-logwtmp: $Version$
Feb 26 16:04:58 firewall pppd[6626]: pppd options in effect:
Feb 26 16:04:58 firewall pppd[6626]: debug              # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: kdebug 7           # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: persist            # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: maxfail 0          # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: ktune              # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: dump               # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: plugin
/usr/lib/pptpd/pptpd-logwtmp.so             # (from command line)
Feb 26 16:04:58 firewall pppd[6626]: require-mschap-v2          # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: refuse-pap         # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: refuse-chap                # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: refuse-mschap              # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: name pptp-vpn-server
# (from /etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: pptpd-original-ip 192.168.2.199
        # (from command line)
Feb 26 16:04:58 firewall pppd[6626]: 115200             # (from command
line)
Feb 26 16:04:58 firewall pppd[6626]: lock               # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: -crtscts           # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: local              # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: asyncmap 0         # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: lcp-echo-failure 6         # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: lcp-echo-interval 30
# (from /etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: show-password              # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: novj               # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: novjccomp          # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: ipparam 192.168.2.199
# (from command line)
Feb 26 16:04:58 firewall pppd[6626]: noipdefault                # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: ms-dns xxx # [don't know how to
print value]               # (from /etc/ppp/pptpd-opti
ons)
Feb 26 16:04:58 firewall pppd[6626]: ms-wins xxx # [don't know how to
print value]              # (from /etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: proxyarp           # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: netmask 255.255.255.255
# (from /etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: 192.168.6.8:192.168.6.202
# (from command line)
Feb 26 16:04:58 firewall pppd[6626]: require-mppe-128           # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: noipx              # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: pppd 2.4.3 started by root, uid 0
Feb 26 16:04:58 firewall pppd[6626]: Using interface ppp0
Feb 26 16:04:58 firewall pppd[6626]: Connect: ppp0 <--> /dev/pts/13
Feb 26 16:05:02 firewall pppd[6626]: MPPE 128-bit stateless compression
enabled
Feb 26 16:05:08 firewall pppd[6626]: local  IP address 192.168.6.8
Feb 26 16:05:08 firewall pppd[6626]: remote IP address 192.168.6.202
Feb 26 16:05:08 firewall pppd[6626]: pptpd-logwtmp.so ip-up ppp0 matze
192.168.2.199
Feb 26 16:05:11 firewall pppd[6626]: LCP terminated by peer (^JM-`
M-9^@<M-Mt^@^@^@^@)
Feb 26 16:05:11 firewall pppd[6626]: pptpd-logwtmp.so ip-down ppp0
Feb 26 16:05:11 firewall pppd[6626]: Connect time 0.1 minutes.
Feb 26 16:05:11 firewall pppd[6626]: Sent 248 bytes, received 569 bytes.
Feb 26 16:05:14 firewall pppd[6626]: Connection terminated.



Reply to: