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.
vpnserver 100% CPU usage
-
- Posts: 14
- Joined: Fri Jan 03, 2014 10:11 am
vpnserver 100% CPU usage
You do not have the required permissions to view the files attached to this post.
-
- Posts: 65
- Joined: Sun Dec 15, 2013 8:34 am
Re: vpnserver 100% CPU usage
You have to create local bridge with real netcard and use NAT on hardware router.
-
- Posts: 5
- Joined: Sun Jan 12, 2014 9:03 am
Re: vpnserver 100% CPU usage
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.
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.
-
- Posts: 2
- Joined: Mon Feb 17, 2014 4:10 am
Re: vpnserver 100% CPU usage
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.
> 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.
-
- Posts: 2
- Joined: Thu Mar 19, 2015 11:21 am