Page 1 of 2

running openvpn consumes 10 to 15% of CPU non stop

Posted: Wed Feb 24, 2016 6:07 pm
by asia
hi,

I'm having a very important issue with openvpn, which is CPU usage, on windows 7 sp1 x64
I've only recently started to use openvpn, dropping pptp, and ever since noticed my CPU was overheating even after hours of inactivity

I checked the process manager and it turns out while openvpn is running (and only when it is running) one svchost.exe thread CONTINOUSLY consumes 10-15% of CPU power, even while not running any active program at all (in that state my computer normally doesn't consume more than 1%)

I checked the details of the related services and here they are:
wscsvc / Windows Security Center
lmhosts / LAN Manager Hosts
HomeGroupProvider
Dhcp
AudioSrv

terminating the thread consequently terminates the vpn connexion, as well as terminating audio support entirely (why openvpn would be tied to audio support baffles me...)

this is a major issue to me because this will lead to a premature death of my computer

is this a known issue and how can I fix this please?

thank you very much

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Fri Feb 26, 2016 12:13 am
by asia
nobody can help here

because we have a critical issue here :(

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Sat Feb 27, 2016 10:35 am
by Traffic
asia wrote:one svchost.exe thread CONTINOUSLY consumes 10-15% of CPU power
Which one ?

OpenVPN requires Windows DHCP client service but none of the others .. if that helps.

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Sun Feb 28, 2016 8:15 pm
by asia
As I said the thread is tied to 5 services I've listed in a single PID
For the record I have disabled all those services except Dhcp, and this issue is persistent.

I really would like to understand why openvpn behaves like a Cryptocurrency mining malware on my system :x

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Sun Feb 28, 2016 9:03 pm
by Traffic
What version of openvpn is it ?

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Sun Feb 28, 2016 9:39 pm
by asia
openvpn-install-2.3.4-I603-x86_64.exe

sha256 : a809bc028b1ace409cec288e0fcee8e38608b8fd1fc962888169289801198bd9

https://www.virustotal.com/fr/file/a809 ... /analysis/

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Sun Feb 28, 2016 10:03 pm
by Traffic
Perhaps your openvpn log or config will show some information .. ?

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Mon Feb 29, 2016 9:31 pm
by asia
in programs/openvpn/log ?
there's nothing in particular, some lines are written during connection and that's all
no error message, just a bunch of "ok" & "success" which don't appear relevant to my issue

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Mon Feb 29, 2016 9:34 pm
by Pippin
Add

Code: Select all

verb 4
to your config file.

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Mon Feb 29, 2016 10:09 pm
by asia
it's writing more data during connection but that's it

still nothing explaining why it uses 1/8 of my cpu power non stop :x

Image

and this is what happens when I disconnect openvpn :x

Image

can we have an explanation from the developers please?

I keep a backup of the log file and config file which I can send to a developer if needed

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Mon Feb 29, 2016 11:21 pm
by Pippin
This is
Community Support Forum
Could you keep your :x ?

You`re using free software and users here are helping users, capiche?

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Tue Mar 01, 2016 12:35 am
by Traffic
Looks normal to me ..

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Tue Mar 01, 2016 2:00 am
by asia
Traffic wrote:Looks normal to me ..
could you elaborate please?

where does it say in the docs openvpn needs 1/8 of cpu power non stop?
what that cpu power is used for
and why is it required even when no application is connected ?

thank you

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Tue Mar 01, 2016 2:07 am
by Traffic
asia wrote:where does it say in the docs openvpn needs 1/8 of cpu power non stop?
check exactly what is being sent over the VPN ..

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Tue Mar 01, 2016 3:03 am
by asia
Traffic wrote:
asia wrote:where does it say in the docs openvpn needs 1/8 of cpu power non stop?
check exactly what is being sent over the VPN ..
how am I supposed to do that, I'm no network expert and I don't understand much about wireshark logs

is there a way to contact openvpn developers to let them know about this issue?

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Tue Mar 01, 2016 1:58 pm
by Traffic
If this was a problem for a lot of people we would have a lot of complaints.

I suggest you figure out exactly what is happening on your computer first.

As this is a forum for the support of openvpn I suggest you post your
openvpn config files and log files (server and client) ..

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Thu Mar 10, 2016 5:01 pm
by asia
so there's no way to contact developers about this?

openvpn pretty much acts like a crypto currency mining malware and at this point I consider going back to pptp, better a less secure protocol, than a malicious one, what's going wrong with this?

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Thu Mar 10, 2016 5:52 pm
by Traffic
asia wrote:openvpn pretty much acts like a crypto currency mining malware
No it does not .. you either have a virus or a configuration problem ..

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Thu Mar 10, 2016 7:39 pm
by asia
that's what I thought too, but I did run a full malware scan with malwarebytes and kaspersky and none returned any detected threat

besides if it's a malware, it only affects openvpn because I don't have any similar issue with pptp or raw internet connection

I would like to know what's going on too but I can't figure out threats that security solutions can not, all I know is my cpu is being used for something while I run an openvpn connection, and only when I run it

the cpu process is hidden except if you chack as administrator, and it's limited to 1/8 of total cpu power available
that's precisely the behavior a crypto malware trying to fly under the radar would have

I can send my config file and logs to developers, but not publish them as they include private data

please help me with this or I'll have to give up on openvpn, how to contact developers?

Re: running openvpn consumes 10 to 15% of CPU non stop

Posted: Thu Mar 10, 2016 7:47 pm
by Traffic
Trying not to sound patronising ..

If you use OpenVPN to transfer data .. then OpenVPN will consume considerable CPU.

The devs can be contacted any time you want.