vpnserver 100% CPU usage

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
myopenid
Posts: 14
Joined: Fri Jan 03, 2014 10:11 am

vpnserver 100% CPU usage

Post by myopenid » Fri Jan 03, 2014 10:28 am

The vpnserver is installed on a Ubuntu 13.04(32bit) VPS. A Windows client is connected to the vpnserver via L2TP/IPSec with SecureNAT enabled at the vpnserver to connect to the internet. With just one VPN session, vpnserver shoots up to 100% CPU and then the VPN session times out. Why is vpnserver using so much CPU at kernel space?

Attached is output of 'top'.

Edit: Apparently this is due to SecureNAT, nothing can be done about it.
You do not have the required permissions to view the files attached to this post.

UkrZilla
Posts: 65
Joined: Sun Dec 15, 2013 8:34 am

Re: vpnserver 100% CPU usage

Post by UkrZilla » Fri Jan 03, 2014 8:51 pm

You have to create local bridge with real netcard and use NAT on hardware router.

yoeluk
Posts: 5
Joined: Sun Jan 12, 2014 9:03 am

Re: vpnserver 100% CPU usage

Post by yoeluk » Fri Jan 17, 2014 6:54 pm

I have the same problem and over and over again I find the same answer. What really puzzles me is why did the creators bother with providing this optional set up.

In particular it bothers me that every installation guide suggests this option since it is easier (like in my case configuring a bridge isn't trivial due to the configuration of the existing network were my server live) then I find that enabling secureNat completely killed the cpu.

Some forum emphasise that this happens only if bridge and securedNat are simultaneously enable yet that's not true - securedNat alone killed the cpu with only one connection like this post says.

The conclusion I arrived is to stay away from this software. You will be better off investing time installing and configuring other proven solutions like openvpn.

FikryAns
Posts: 2
Joined: Mon Feb 17, 2014 4:10 am

Re: vpnserver 100% CPU usage

Post by FikryAns » Mon Feb 17, 2014 4:23 am

myopenid wrote:
> The vpnserver is installed on a Ubuntu 13.04(32bit) VPS. A Windows client
> is connected to the vpnserver via L2TP/IPSec with SecureNAT enabled at the
> vpnserver to connect to the internet. With just one VPN session, vpnserver
> shoots up to 100% CPU and then the VPN session times out. Why is vpnserver
> using so much CPU at kernel space?
>
> Attached is output of 'top'.
>
> Edit: Apparently this is due to SecureNAT, nothing can be done about it.
You do not have the required permissions to view the files attached to this post.

abdullah2
Posts: 2
Joined: Thu Mar 19, 2015 11:21 am

Re: vpnserver 100% CPU usage

Post by abdullah2 » Thu Mar 19, 2015 12:03 pm

try this solution http://www.vpnusers.com/viewtopic.php?f ... 16&p=10815

solved my CPU problem .

Post Reply