Comprehensive data protection for all workloads
Post Reply
jokoenen
Influencer
Posts: 12
Liked: 2 times
Joined: Apr 25, 2025 11:44 am
Full Name: Joachim Koenen
Contact:

Re: Server 2025 - high CPU and RAM

Post by jokoenen » 2 people like this post

The new Windows update August 29, 2025—KB5064081 (OS Build 26100.5074) Preview
https://support.microsoft.com/en-us/top ... aace788d93
includes according to MS the ReFS fix:
This non-security update includes quality improvements. The following summary outlines key issues addressed by the KB update after you install it. Also, included are available new features. The bold text within the brackets indicates the item or area of the change.

[File system]​​​​​​​ Fixed: An issue in Resilient File System (ReFS) where using backup apps with large files could sometimes exhaust system memory.
Gostev
Chief Product Officer
Posts: 32512
Liked: 7847 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Server 2025 - high CPU and RAM

Post by Gostev » 1 person likes this post

Unfortunately, KB5064081 also does not help in our lab where we have solid reproduction. Perhaps the August patch is still incomplete.
jokoenen
Influencer
Posts: 12
Liked: 2 times
Joined: Apr 25, 2025 11:44 am
Full Name: Joachim Koenen
Contact:

Re: Server 2025 - high CPU and RAM

Post by jokoenen »

Thanks for this valuable info. This prevents us from to much trust in MS.
Jo
BenM2024
Influencer
Posts: 23
Liked: 9 times
Joined: Oct 01, 2024 7:38 am
Full Name: Ben Mottram
Contact:

Re: Server 2025 - high CPU and RAM

Post by BenM2024 »

GUys,

Hate to be the one that says "August update worked for me" but something in updates KB5062553 (Windows server 24h2 2025-07-21), KB5063326(.NET 8 2025-07-28), KB5056579( .NET 3.5-4.8.1 2025-07-28), KB5063878( Server 24h2 2025-08-18), KB5064838(.NET 8 2025-08-25) appears to have done.
I am offsite for that period as it is summer recess but the server keeps trucking. I did disable the backup jobs before I went on 19th July as I didn't want the machine trying them should it update and restart without me being around to keep an eye on things.

Re-enabled the backup jobs last Friday (summer recess means we don't do backups over the last weeks of July/all of August/first week of September) and they mostly ran OK.
Only errors seem to be with pre-existing metafiles from the July backup attempts. Re-synched the repositories and the copy jobs, running with a manual sync for the latest restore point, appear to be behaving as expected.

The server is only using 31.5Gb RAM (out of 96Gb physical RAM) today after the weekend backup jobs and the resync for the repositories/sync of copy jobs.
Gostev
Chief Product Officer
Posts: 32512
Liked: 7847 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Server 2025 - high CPU and RAM

Post by Gostev »

The issue is not persistent or immediate, you need to wait for mass backup retention processing to kick in. Although I admit it was not an easy issue to reproduce. At some point our QA got lucky and caught it in a VM, which we then snapshot and can now use to quickly test all the hotfixes and updates by reverting to that snapshot. So far the only thing that really made difference in this lab was the last private fix from Microsoft a few months ago.
jokoenen
Influencer
Posts: 12
Liked: 2 times
Joined: Apr 25, 2025 11:44 am
Full Name: Joachim Koenen
Contact:

Re: Server 2025 - high CPU and RAM

Post by jokoenen »

Hi!
To my experience deleting a huge file will block the computer after a few minutes. Unfortunately I can't test it momentarily since I'm on vacation.
LG
JoKoenen
Flole
Influencer
Posts: 19
Liked: 2 times
Joined: Feb 06, 2021 2:43 am
Contact:

Re: Server 2025 - high CPU and RAM

Post by Flole »

I'm only doing small backups so the retention apply task completes quite quickly and normally I don't experience this issue, but when I have to delete large files from the backup volume stuff gets really bad. The deletion happens instantly but reclaiming space happens afterwards, and RAM consumption will start to increase after the deletion. I rebooted the machine a few times when it became slow to respond during that process, not sure if that helped. In general the OS seems quite slow/laggy since I upgraded to server 2025.
BenM2024
Influencer
Posts: 23
Liked: 9 times
Joined: Oct 01, 2024 7:38 am
Full Name: Ben Mottram
Contact:

Re: Server 2025 - high CPU and RAM

Post by BenM2024 »

Gostev wrote: Sep 08, 2025 10:46 am The issue is not persistent or immediate, you need to wait for mass backup retention processing to kick in. Although I admit it was not an easy issue to reproduce...
Indeed - I notice this morning that memory consumption has jumped by 20Gb after a bunch of incrementals and data copies to storage with different retention policies.
The behaviour has improved - usually the server would be so memory locked after one overnight backup run that it would take 5 minutes to log in (becasue of all the swapping required). Now it looks like I can do two or three backups and then reboot.
karsten123
Service Provider
Posts: 641
Liked: 160 times
Joined: Apr 03, 2019 6:53 am
Full Name: Karsten Meja
Contact:

Re: Server 2025 - high CPU and RAM

Post by karsten123 »

2025-09 -> next try
BenM2024
Influencer
Posts: 23
Liked: 9 times
Joined: Oct 01, 2024 7:38 am
Full Name: Ben Mottram
Contact:

Re: Server 2025 - high CPU and RAM

Post by BenM2024 »

OK so I retract my previous optimism :lol:

The console was complaining that there was a patch missing- so I disabled all the jobs and ran the update over night.

Came in this mornig to a locked up Windows server. Hard reset got things going again. Everything looked normal so enabled all the backup jobs and updated the host servers as requested by the update process. I ran the copy job to update the VHR with the backup that worked on Monday. - note these jobs read from ReFS volumes but do not write to them (at least I don't think they do). I am guessing that as they are synthetic fulls there will be quite a bit of reading of big files going on in the ReFS volumes,

Copies ran OK, memory use looked reasonable(ish) and the copy jobs worked.

Now the server is unresponsive, just like before. Guess I am back to the daily reboot and pray that it survives long enough to run the backups. The server does seem to take longer to break but that is a gut feel rather than empirical measurement!

Roll on Patch Tuesday!
Didi7
Veteran
Posts: 539
Liked: 78 times
Joined: Oct 17, 2014 8:09 am
Location: Hypervisor
Contact:

Re: Server 2025 - high CPU and RAM

Post by Didi7 »

Thank god there is VSA *yippieh*
Using the most recent Veeam B&R in many different environments now and counting!

*** Nominated for being the earliest early adopter of VSA ***
ChristophINV
Lurker
Posts: 1
Liked: 1 time
Joined: Sep 10, 2025 8:37 am
Contact:

Re: Server 2025 - high CPU and RAM

Post by ChristophINV » 1 person likes this post

Joined the club for a couple of weeks now. Installed a fresh 2025-Server with a 60 TB ReFS-Repo (as a planned replacement for an EOL physical server) and on its initial Backup it took more than 20 hours for the issue to appear (VM ran into "Freeze", nothing but answering Pings). After that, it basically kicked in with every Retry/Reset immediately and even with another Job within 30 minutes. After wasting almost an entire weekend I found this thread (thankfully!).

In the Windows-App-Eventlog I found this just a couple of minutes before the machine got unresponsive the first time:

Fault bucket 2136014573521082570, type 5
Event Name: RADAR_PRE_LEAK_64
Response: Not available
Cab Id: 0

Source: Windows Error Reporting
Even ID: 1001

And then filtering for that, I saw that (Event, not freezes!) happening two weeks earlier (the server was basically just sitting there, installed Veeam one week before), these errors seem to have happened erratically on random processes, that were active:

MicrosoftEdgeUpdate.exe
WindowsWcpOtherFailure3
TiWorker.exe
Veeam.Backup.RestAPIService.exe
Veeam.Backup.Service.exe
Veeam.Backup.CloudService.exe
VeeamAgent.exe
msedge.exe
SenseNdr.exe
svchost.exe_defragsvc

And as it is "Informational", who looks really into those messages? And yes, why the "defrag" was a thing on my Backup-Server (sorted)...that event happened three minutes before the Server went unresponsive for the first time.

Since almost three weeks I'm begging Microsoft-Partner-Support, but they refuse to even recognize what I'm talking about. It is slightly frustrating, as we have basically set up everything already.
m.novelli
Veeam ProPartner
Posts: 595
Liked: 115 times
Joined: Dec 29, 2009 12:48 pm
Full Name: Marco Novelli
Location: Asti - Italy
Contact:

Re: Server 2025 - high CPU and RAM

Post by m.novelli »

That's a ridicolous to still have to install Windows Server 2022 after almost one year of Windows Server 2025 😳

Marco
Ciao,

Marco
Gostev
Chief Product Officer
Posts: 32512
Liked: 7847 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Server 2025 - high CPU and RAM

Post by Gostev »

Didi7 wrote: Sep 10, 2025 12:23 pm Thank god there is VSA *yippieh*
As you said elsewhere, this whole issue makes the decision to go with Veeam Software Appliance an easy one.
mkretzer
Veteran
Posts: 1288
Liked: 459 times
Joined: Dec 17, 2015 7:17 am
Contact:

Re: Server 2025 - high CPU and RAM

Post by mkretzer »

... or just use plain old Linux repos with XFS. Everything is better than ReFS on WIndows.
BenM2024
Influencer
Posts: 23
Liked: 9 times
Joined: Oct 01, 2024 7:38 am
Full Name: Ben Mottram
Contact:

Re: Server 2025 - high CPU and RAM

Post by BenM2024 » 1 person likes this post

tl;dr - September patches have done something; not sure if the machine will survive the night but hope is high!

Yesterday I applied 2025-09 server update (2025-09 Cumulative Update for Microsoft server operating system version 24H2 for x64-based Systems (KB5065426)) and left the machine to its own devices with the backup jobs (yeh I forgot to disable them before doing the windows update), which turned out to be 'interesting'.

Having sorted out the mess with a couple of hard reboots (one becasue of the known ReFS issue causig the machine to lock up when it got owards the end of the backup jobs, the other becasue the patch installation got as far as rebooting the machine then just hung with the word "Restarting..." on the console) I kept an eye on memory use.

What happened was that the indicated memory use climbed steadily, then dropped back a bit and then instantly climbed a bit, then gradually increased until it was higher than the point at which it dopped back, rinse and repeat to a max of about 80Gb. It stayed up high for quite a while then dropped suddenly to about 20Gb and there remained for a while.

Whilst typing this memory use appears to be slowly rising again - about 100Mb increase every 8-16 seconds or so. It reached about 28.4Gb and just dropped back to 24.3Gb again - no, wait, its dropped again to 16.3Gb and is slowly climbing again; this seems to be cyclical - definitely repeated the 16Gb to 28.4Gbish slow climb then drop back to 24Gb then 16Gb a couple of times.

Pure speculation - something has changed with yesterday's patch that makes the system much more likely to free memory for whatever reason.

With that optimism in my heart I am going to let the backups run tonight and hope to be able to say "it's all still working" in the morning :lol:
Flole
Influencer
Posts: 19
Liked: 2 times
Joined: Feb 06, 2021 2:43 am
Contact:

Re: Server 2025 - high CPU and RAM

Post by Flole »

I saw this rising and then dropping last month already, let's see what the morning brings for you though :)
johan.h
Veeam Software
Posts: 744
Liked: 206 times
Joined: Jun 05, 2013 9:45 am
Full Name: Johan Huttenga
Contact:

Re: Server 2025 - high CPU and RAM

Post by johan.h » 1 person likes this post

I've been told that the next possible time we expect a public update that may not require additional enablement around ReFS garbage collection (related to the retention processing performance impact) from Microsoft is December this year.
BenM2024
Influencer
Posts: 23
Liked: 9 times
Joined: Oct 01, 2024 7:38 am
Full Name: Ben Mottram
Contact:

Re: Server 2025 - high CPU and RAM

Post by BenM2024 » 1 person likes this post

Well guys it's party time in my Veeam server! :P

Full set of incrementals completed last night, a couple of copies to the VHR, a SureBackup test and RAM doing the cyclical thing this morning between 29Gb and 24Gb... the minimum RAM in use has gone up by 8Gb so lets see what Monday brings there.

All the full backups get done tonight/over the weekend so I am looking forward to a responsive server on Monday.

FWIW the only ReFS reg setting I have enabled is

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
Value Name: RefsEnableLargeWorkingSetTrim
Set RefsEnableLargeWorkingSetTrim = 1
Value Type: REG_DWORD

documented here

Which, if the weekend backup is successful and the baseline RAM hasn't gone up by too much, I will disable on Monday and see how that changes anything.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 13 guests