Volume Shadow Copy Causing Paged Pool Memory Consumption Until Server Becomes Unresponsive

Anonymous
2023-11-07T22:21:53+00:00

Background

Our goal was to have a month of hourly business-hours VSCs so we bumped up our Volume Shadow Copy retention. Now, two of our file servers are running high Committed Memory and eventually become unresponsive if no action is taken. I'm hoping someone has an idea of why we are seeing this issue.

  • The maximum number of Volume Shadow Copies (VSC) was recently increased from 64 to 384
  • VSCs are taken hourly from 9a-9p.
  • Taking new VSCs consumes paged pool memory that is not released until the servers are rebooted.
  • Limiting the number of VSCs stops paged pool growth as older VSCs are removed. We reduced the number of VSC to stabilize the paged pool memory consumption.
  • The increase in paged pool memory consumption is seen in “nt!mm - Mm section object prototype ptes“, this can be viewed using poolmon.exe.
  • We are seeing the issue on 4 file servers, it is acute on 2 file servers that have 4+ volumes.
  • The server with the most trouble is a VMWare VM, 6 CPU cores, 16GB RAM, 4GB Page File, 6 VHDs (52TB total). When “nt!mm - Mm section object prototype ptes“ got to ~10GB the console becomes unresponsive until processes die or are killed to free RAM. The server shows no signs of stress other than high paged pool, it is coasting.
  • The page file is not being used significantly so we believe this is an issue with memory allocation not memory utilization.

Memory Consumption

  • The image shows % Committed Memory
  • A: %Committed Memory increases while VSC are taken, and appears to never be released.
  • B: %Committed Memory spikes during backups, and is released when backups complete.
  • C: A reboot to release paged pool memory
  • D: Memory consumption flattens after the VSC limit is reached

![](https://filestore.community.support.microsoft.com/api/images/84a8ee3f-4036-4544-905a-d1e50c16f64b?upload=true&fud_access=wJJIheezUklbAN2ppeDns8cDNpYs3nCYjgitr%2bfFBh2dqlqMuW7np3F6Utp%2fKMltnRRYFtVjOMO5tpbpW9UyRAwvLeec5emAPixgq9ta07Dgnp2aq5eJbnfd%2fU3qhn54ZJ%2b4jK0E9RVSKqKk032QqjDOyF49wIucMYI1FLzhlIhKxHz0ZP%2bDCBqg%2bkvBUKOQQtzx4BSNdpb%2bG7XDZ1demZDbOk%2bypm%2bA4UCHjvQBqUD6icV01vl%2bUaqtC5aamiudnmqdxS8nGp2ODm8Le2eDxAiG%2fy2kcq%2b%2baQJVNDxV8XwTbj14C2yrWN4flYYAUVjdY%2faR%2bXeUSMCDDLlz214AAWBEdc5dGE%2b3PiX18O3cWL%2f3%2blG6qmHzj4qp8cILNFaJzLk%2ftNkMHucnbaEQxsF%2bC6y1YnaI1g78GhcwhbACCL4%3d) .

Relevant Articles

Work Arounds

We have a few reasonable workarounds but any suggestions on the cause of this issue would be appreciated.

  • Increment the VSC limit, allow paged pool to be consumed, reboot to clear paged pool, repeat (This is what we are currently doing).
  • Move from taking VSCs every 1hr to taking VSCs every 2hr
  • Temporarily increase commit limit by increasing page file and/or RAM, then resize and reboot

Let me know what you think!

Thanks,

Rob

Windows for business | Windows Server | Storage high availability | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Anonymous
    2023-11-08T09:37:53+00:00

    Hi Rob,

    Thank you for sharing your workarounds. Have you tried to restart the Volume Shadow Copy Service (VSS)? Does it reduce the memory consumption of the VSSVC.exe process?

    Best Regards,

    Ian Xue

    0 comments No comments
  2. Anonymous
    2023-11-09T20:51:35+00:00

    Hey Ian,

    The service is set to manual on our servers, that appears to be the OOB configuration. We use a scheduled task to initiate the hourly snapshots so it runs for 10 to 15min every hour then ends. There's no significant change in memory utilization when the service/process starts or stops, maybe a few hundred MB.

    Thanks,

    Rob

    0 comments No comments
  3. Anonymous
    2023-11-13T09:13:06+00:00

    Hi,

    Sorry I didn't find other similar issues. One possible cause for the high MmSt pool usage I found is that VSS snapshots aren’t dismounting. Do you have any mounted VSS snapshots on the server? Dismount them and see if the memory usage changes.

    0 comments No comments
  4. Anonymous
    2023-11-13T20:48:35+00:00

    There are no mounted snapshots that I am aware of.

    0 comments No comments