Page 1 of 1

OpenVPN service: too much CPU after wakeup from hibernate

Posted: Thu Mar 08, 2012 12:12 pm
by rael_gc
Hi guys, good day!

I uses OpenVPN 2.2.2 for Windows, as a service, with 2 TAP adapters (see the config files below).

After resume from a Windows hibernate, the service starts to use too much CPU (on my old core 2 duo, about 50%, on new machine, 10% with a lot of fan noise).

I always solve that just restarting the service. But this is annoying, as it's suppose to resume with Windows with no side effects.

Thanks in advance!

Config files (I just replaced the domain values with a placeholder to post here):

Code: Select all

client
dev tun
proto tcp
remote <mydomain1> 8500
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert rael.crt

key rael.key
keepalive 5 60
verb 4

Code: Select all

client
dev tun
proto tcp
remote <mydomain2> 4430
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
ca ca_invida.crt
cert rael_invida.crt
key rael_invida.key
keepalive 5 60
verb 4
cipher none
auth none