Windows Server Memory Usage

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
shemeck
Posts: 8
Joined: Thu Jun 02, 2022 7:56 am

Windows Server Memory Usage

Post by shemeck » Thu Jun 02, 2022 8:03 am

Hi,

We are using softether verision 4.38 as a vpn server with L2TP. We are using sercure NAT because of DHCP, but still softether service is increasing memory usage even for 10GB and more. What should we check?

Kind Regards

solo
Posts: 408
Joined: Sun Feb 14, 2021 10:31 am

Re: Windows Server Memory Usage

Post by solo » Thu Jun 02, 2022 10:20 am

My SE server in bridged mode and 1 client, mem:

Code: Select all

Image Name                   PID Session Name     Session#    Mem Usage
========================= ====== ================ ======== ============
vpnclient.exe               1372                         0     20,496 K
vpncmgr.exe                 1396                         0     22,072 K
vpnclient.exe               1808                         0     31,488 K
vpnserver.exe               1900                         0     17,408 K
You could bridge it too, disable SecureNAT and use "Open DHCP Server" on Windows (dnsmasq on Linux).

shemeck
Posts: 8
Joined: Thu Jun 02, 2022 7:56 am

Re: Windows Server Memory Usage

Post by shemeck » Fri Jun 03, 2022 7:04 am

Hi solo,

thanks for reply

that means it is a known issue with memory and SecureNAT? It was investigated in the past somehow? Do You know what is the cause?


Kind Regards

solo
Posts: 408
Joined: Sun Feb 14, 2021 10:31 am

Re: Windows Server Memory Usage

Post by solo » Fri Jun 03, 2022 7:37 am

Hello, I did not imply that, however bridging delivers better throughput. As for memory usage, reboot the server and compare the output of "tasklist" with and without users.

shemeck
Posts: 8
Joined: Thu Jun 02, 2022 7:56 am

Re: Windows Server Memory Usage

Post by shemeck » Tue Jun 07, 2022 12:26 pm

Hi,

Sorry for late post. You mean to start server and disconnect cable? I think You have right memory pumping is synced with data transfer. If it will be no memory pumping without users what then?

Maybe it is because I have client and server on same system?

Kind Regards

solo
Posts: 408
Joined: Sun Feb 14, 2021 10:31 am

Re: Windows Server Memory Usage

Post by solo » Tue Jun 07, 2022 1:09 pm

shemeck wrote:
Tue Jun 07, 2022 12:26 pm
Maybe it is because I have client and server on same system?
Maybe. Try bridging and remove the client.

shemeck
Posts: 8
Joined: Thu Jun 02, 2022 7:56 am

Re: Windows Server Memory Usage

Post by shemeck » Sun Jun 12, 2022 9:29 pm

Hi,

I tried to make new clean windows installation with same hub. Same situation, server is pumping up memory. When no client is connected then everything is ok.

What I saw that I get information (warning) about too big packets, but it is only warning.

Kind Regards
Przemek

solo
Posts: 408
Joined: Sun Feb 14, 2021 10:31 am

Re: Windows Server Memory Usage

Post by solo » Mon Jun 13, 2022 7:11 am


shemeck
Posts: 8
Joined: Thu Jun 02, 2022 7:56 am

Re: Windows Server Memory Usage

Post by shemeck » Wed Jun 15, 2022 9:50 pm

Hi Solo,

I will. Also checked same situation on linux version.

Kind Regards

shemeck
Posts: 8
Joined: Thu Jun 02, 2022 7:56 am

Re: Windows Server Memory Usage

Post by shemeck » Wed Jun 15, 2022 10:50 pm

Hi Solo,

I tried with disabled SecureNAT and with Windows Server DHCP feature. So far no memory problem. I will give You info after few days. Also CPU utilization is very low now.

Kind Regards

solo
Posts: 408
Joined: Sun Feb 14, 2021 10:31 am

Re: Windows Server Memory Usage

Post by solo » Thu Jun 16, 2022 1:33 am

Hello Przemek, this is good news for your VPN, but not so good for SecureNAT's reputation though if both Windows and Linux are affected. Please report it anyway and keep us updated as it is a very interesting issue.

shemeck
Posts: 8
Joined: Thu Jun 02, 2022 7:56 am

Re: Windows Server Memory Usage

Post by shemeck » Mon Jun 20, 2022 9:03 am

Hi Solo,

Chcecked after few days and now I can see that is about 40MB / day more. So today it is about 300MB yesterday was 260MB. So maybe situation is very similar but without NAT there is less to store in memory?

What else I can check? Maybe it is because I'm usint L2TP?

Kind Regards

shemeck
Posts: 8
Joined: Thu Jun 02, 2022 7:56 am

Re: Windows Server Memory Usage

Post by shemeck » Wed Jun 22, 2022 6:57 am

Hi Solo,

After few days we can see that is stable 150-300MB (20 clients).

Kind Regards

Post Reply