running openvpn consumes 10 to 15% of CPU non stop

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

asia
OpenVpn Newbie
Posts: 12
Joined: Wed Feb 24, 2016 5:42 pm

running openvpn consumes 10 to 15% of CPU non stop

Post by asia » Wed Feb 24, 2016 6:07 pm

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

asia
OpenVpn Newbie
Posts: 12
Joined: Wed Feb 24, 2016 5:42 pm

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

Post by asia » Fri Feb 26, 2016 12:13 am

nobody can help here

because we have a critical issue here :(

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Sat Feb 27, 2016 10:35 am

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.

asia
OpenVpn Newbie
Posts: 12
Joined: Wed Feb 24, 2016 5:42 pm

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

Post by asia » Sun Feb 28, 2016 8:15 pm

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

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Sun Feb 28, 2016 9:03 pm

What version of openvpn is it ?

asia
OpenVpn Newbie
Posts: 12
Joined: Wed Feb 24, 2016 5:42 pm

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

Post by asia » Sun Feb 28, 2016 9:39 pm

openvpn-install-2.3.4-I603-x86_64.exe

sha256 : a809bc028b1ace409cec288e0fcee8e38608b8fd1fc962888169289801198bd9

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

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Sun Feb 28, 2016 10:03 pm

Perhaps your openvpn log or config will show some information .. ?

asia
OpenVpn Newbie
Posts: 12
Joined: Wed Feb 24, 2016 5:42 pm

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

Post by asia » Mon Feb 29, 2016 9:31 pm

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

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

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

Post by Pippin » Mon Feb 29, 2016 9:34 pm

Add

Code: Select all

verb 4
to your config file.

asia
OpenVpn Newbie
Posts: 12
Joined: Wed Feb 24, 2016 5:42 pm

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

Post by asia » Mon Feb 29, 2016 10:09 pm

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

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

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

Post by Pippin » Mon Feb 29, 2016 11:21 pm

This is
Community Support Forum
Could you keep your :x ?

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

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Tue Mar 01, 2016 12:35 am

Looks normal to me ..

asia
OpenVpn Newbie
Posts: 12
Joined: Wed Feb 24, 2016 5:42 pm

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

Post by asia » Tue Mar 01, 2016 2:00 am

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

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Tue Mar 01, 2016 2:07 am

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 ..

asia
OpenVpn Newbie
Posts: 12
Joined: Wed Feb 24, 2016 5:42 pm

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

Post by asia » Tue Mar 01, 2016 3:03 am

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?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Tue Mar 01, 2016 1:58 pm

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) ..

asia
OpenVpn Newbie
Posts: 12
Joined: Wed Feb 24, 2016 5:42 pm

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

Post by asia » Thu Mar 10, 2016 5:01 pm

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?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Thu Mar 10, 2016 5:52 pm

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 ..

asia
OpenVpn Newbie
Posts: 12
Joined: Wed Feb 24, 2016 5:42 pm

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

Post by asia » Thu Mar 10, 2016 7:39 pm

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?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Thu Mar 10, 2016 7:47 pm

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.

Post Reply