locked
Windows 2019 server NTP increases memory utilisation by acquiring page table RRS feed

  • Question

  • We started with a brand new windows server 2019 datacenter edition and installed an infrastructure monitoring agent on it and strictly no other program. The machine had 8 GB of memory. As part of monitoring NTP offset from sync'd host we scheduled an exe. The problem started after 10-11 days, the memory utilisation had increased to significant level >80%. On analysis we found it was a gradual increase and using RAMMAP we saw every time the exe will run it will leave behind 24k of memory in PAGE Table with 0 B in Private. Moreover this issue is specific to windows server 2019 we tried following same steps on windows server 2012 machine and it worked perfectly fine with no memory creeping issues.

    Memory usage per task manager: 


    Image

    Process Tab:  We tried to look for processes using task manager Resource monitor  and even WPT xperf utility but could not find any other process consuming such a high amount of memory.

    Image

    RAMMAP: As it can be seen here the exe scheduled has died already but is still holding page table memory.

    Image

    Total RAMMAP use counts:  


    Image

    This has lead to an unanswerable gradual memory spike. Can it be related to some windows server 2019 specific drivers or system files which is used by NTP?


    Wednesday, May 27, 2020 5:11 AM

All replies

  • Update your clean Windows Server 2019 to the latest build, let Windows update install drivers for it.

    Then, we need to check if your exe is compatible with Server 2019.

    Increase the size of virtual memory and put the page file in other partitions, don’t put page file in system partition.

    What’s more, Microsoft official article can give us some points for configurating NTP server.

    https://support.microsoft.com/en-us/help/816042/how-to-configure-an-authoritative-time-server-in-windows-server

    Regards


    "Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
    We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
    For more information, please refer to the sticky post.

    Thursday, May 28, 2020 1:50 AM
  • Hello,

    Thanks for answering can you please let me know of a reliable tool that would help me find out any compatibility issues with my exe? I tried running dependency walker on win2k19 server and it gave me a long list of dlls which are missing. When I run the same thing in win2k12 it gives me just 3 dependencies that are missing and a couple of CPU type mismatches.

    Thursday, May 28, 2020 11:08 AM