Troubleshooting WSUS on Windows Server 2022
Background
This article was written on 13-Sep-23.
References
https://support.solarwinds.com/SuccessCenter/s/article/WSUS-synchronization-fails-with-HTTP-Error-503?language=en_US
https://learn.microsoft.com/en-us/troubleshoot/mem/configmgr/update-management/windows-server-update-services-best-practices
Precautions
WSUS may consume a lot of CPU and Memory resources.
Prerequisites
I am assuming that you already have Windows Server 2022 installed with Windows Server Update Services successfully configured.
Process
Even after successful initial synchronization, you are no longer able to open/connect to WSUS server using MMC.
Reinstalling, deleting c:\Windows\WID and WSUS folders does not help.
Source is correct: https://sws.update.microsoft.com
$server = Get-WsusServer
$config = $server.GetConfiguration()
# Check current settings before you change them
$config.MUUrl
Cause
a. The WsusPool Application Pool in IIS is in a Stopped state.
b. The Private Memory Limit (KB) for the Application Pool is set to the default value of 1843200 KB.
To fix WSUS, you need to increase Private Memory Limit (KB) to 8 GB
As per above reference from Microsoft it is also suggested to set change below parameters
Setting name Value Queue Length 2000 (up from default of 1000)
Idle Time-out (minutes) 0 (down from the default of 20)
Ping Enabled False (from default of True)
Private Memory Limit (KB) 0 (unlimited, up from the default of 1,843,200 KB) — I use 8,192,000
Regular Time Interval (minutes) 0 (to prevent a recycle, and modified from the default of 1740) — I do not change it
Then start the WSUSPool
InsyaAllah your WSUS is accessible again through MMC, aameen.