Hi all,
On my Linux softether server I also installed softether client and created a connection to the server. Both the server and client run great at RAM usage of ~20MB when idle. However as soon as I assign with "dhclient" an IP to the client the RAM usage of the server boosts to >128MB and CPU runs at an average of 30% with spikes up to 100% every few seconds. Questions:
1. How can I properly run both server and client on the same machine?
2. The reason for this setup is that I want this machine connected to another client in the same VPN network which servers a large NFS filesystem that I can use. Essentially I want to access one client from the VPN server via ssh. Is there another way to do it than creating a client on the same server?
Both the client and server are v4.10-9473-beta-2014.07.12-linux-x64-64bit. My server is not behind firewall. I did not use SecureNAT. Please let me know what other information you need. Thank you in advance for the suggestions!
High CPU and RAM usage of vpnserver
-
- Posts: 3
- Joined: Mon Jul 28, 2014 5:43 am
Re: High CPU and RAM usage of vpnserver
Hi,
If you can include a network diagram it will be easy to discuss
and resolve.
Thanks
Anish
If you can include a network diagram it will be easy to discuss
and resolve.
Thanks
Anish
-
- Posts: 27
- Joined: Wed Feb 26, 2014 3:36 am
Re: High CPU and RAM usage of vpnserver
I also has the same problem. The following log is i use debug mode to build the code and run it.
Do anyone has suggestions to reduce high loading and ram usage ?
===========================================
PID USER STATUS RSS PPID %CPU %MEM COMMAND
4740 root S < 11M 4713 45.5 9.7 BrBridgeThread
4741 root S < 11M 4713 1.7 9.7 DCThread (0xa4f
5902 root R 448 3258 1.3 0.3 top
4723 root S < 11M 4713 0.1 9.7 UdpListenerThre
4729 root S < 11M 4713 0.0 9.7 HubWatchDogThre
4749 root S < 11M 4713 0.0 9.7 RUDPIpQueryThre
4725 root S < 11M 4713 0.0 9.7 UdpListenerThre
4712 root S < 11M 4711 0.0 9.7 vpnserver
4744 root S < 11M 4713 0.0 9.7 SiSaverThread (
4714 root S < 11M 4713 0.0 9.7 Tick64Thread ((
4727 root S < 11M 4713 0.0 9.7 LogThread (0xa2
4722 root S < 11M 4713 0.0 9.7 LogThread (0x9c
Do anyone has suggestions to reduce high loading and ram usage ?
===========================================
PID USER STATUS RSS PPID %CPU %MEM COMMAND
4740 root S < 11M 4713 45.5 9.7 BrBridgeThread
4741 root S < 11M 4713 1.7 9.7 DCThread (0xa4f
5902 root R 448 3258 1.3 0.3 top
4723 root S < 11M 4713 0.1 9.7 UdpListenerThre
4729 root S < 11M 4713 0.0 9.7 HubWatchDogThre
4749 root S < 11M 4713 0.0 9.7 RUDPIpQueryThre
4725 root S < 11M 4713 0.0 9.7 UdpListenerThre
4712 root S < 11M 4711 0.0 9.7 vpnserver
4744 root S < 11M 4713 0.0 9.7 SiSaverThread (
4714 root S < 11M 4713 0.0 9.7 Tick64Thread ((
4727 root S < 11M 4713 0.0 9.7 LogThread (0xa2
4722 root S < 11M 4713 0.0 9.7 LogThread (0x9c
-
- Posts: 3
- Joined: Thu Jul 24, 2014 5:16 pm
Re: High CPU and RAM usage of vpnserver
The network diagram is:
[1. VPN server on the cloud & 2. VPN client on the cloud] <----> (Firewall) <----> [3. VPN client & 4. NFS server]
1 & 2 are on the same machine on a cloud hosting service with static IP; 3 & 4 are on the same machine behind enterprise firewall.
Currently I have 2 and 3 connected to 1 so that 2 and 3 can connect to each other to provide large storage on cloud via 4. Problem is that running 1 & 2 uses high CPU and RAM. I'm wondering what might possibly go wrong, or if there is a way to mount 4 on 1 without using 2.
Update: after running for several days the CPU usage become constantly 100%. This made the implementation of the diagram above impossible under current setup.
[1. VPN server on the cloud & 2. VPN client on the cloud] <----> (Firewall) <----> [3. VPN client & 4. NFS server]
1 & 2 are on the same machine on a cloud hosting service with static IP; 3 & 4 are on the same machine behind enterprise firewall.
Currently I have 2 and 3 connected to 1 so that 2 and 3 can connect to each other to provide large storage on cloud via 4. Problem is that running 1 & 2 uses high CPU and RAM. I'm wondering what might possibly go wrong, or if there is a way to mount 4 on 1 without using 2.
Update: after running for several days the CPU usage become constantly 100%. This made the implementation of the diagram above impossible under current setup.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: High CPU and RAM usage of vpnserver
Did you check a log of VPN server?