[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] CPU 100% when waiting for ping-restart


  • Subject: [Openvpn-users] CPU 100% when waiting for ping-restart
  • From: Markku Leinio <markku.leinio@xxxxxxxxxxxxxx>
  • Date: Fri, 03 Jun 2005 22:36:07 +0300

openvpn.exe (in the client-side) starts spending 100% CPU time when ping
has failed and it is waiting for ping-restart to happen. Is this a known
fact, and can it be avoided somehow?

CPU load is near zero, but when the network connection fails, my laptop
starts spinning the fans as CPU load goes to 100%, until OpenVPN notices
that the connection has failed.

Server is Linux 2.4.x, client is Windows XP Pro SP2, both running
OpenVPN 2.0.

server.conf:
dev tun
port 1194
server 192.168.88.0 255.255.255.0
push "route <vpn-server-ip> 255.255.255.255 net_gateway"
push "route <first-network> 255.255.255.0 default 100"
push "route <second-network> 255.255.255.0 default 100"
push "route <third-network> 255.255.0.0 default 100"
push "explicit-exit-notify 2"
keepalive 10 60
ca dcroot.crt
dh dh1024.pem
cert vpn-server.crt
key vpn-server.key
crl-verify crl.pem
user nobody
group nogroup
persist-key
persist-tun
comp-lzo
verb 3

client.conf:
remote <vpn-server-ip>
dev tun
port 1194
client
ca   "C:\\Program Files\\OpenVPN\\config\\dcroot.crt"
cert "C:\\Program Files\\OpenVPN\\config\\mleinio.crt"
key  "C:\\Program Files\\OpenVPN\\config\\mleinio.key"
comp-lzo
nobind
tls-remote "<x509-of-the-server>"
verb 3

-- 
Markku Leiniö, Turku, Finland

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-06/msg00064.html on line 221

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-06/msg00064.html on line 221