We noticed that our WSUS content folder was growing out of control on the master and downstream replicas. The decision was made to delete everything in the content folders on all WSUS servers and issue a wsusutil.exe RESET command on all WSUS servers as well as change every patch to UNAPPROVED on the master server.
Everything worked great and very quickly on the master which appears to be functioning fine but the downstream replicas are stuck. The CPU is maxed on a core and WSUS is running queries indefinately. There is absolutely nothing in the wsus content folder on these replica servers now and we have not approved a single patch after setting them all back to unapproved. What is going on and how do I fix this?
Here is what is running in SQL on SUSDB:
SUSDB.dbo.spResetStateMachineAndReEvaluate;1 This query is running
SUSDB.dbo.spGetRevisionInfo;1 This query is blocked by the first one
SUSDB.dbo.spGetRevisionIdListForCache;1 This query is blocked by the first one
The downstream replicas are also not able to sync with the master while this is going on now.
How do I fix the downstream replicas so they start syncing again and stop with the maxxed CPU and SUSDB queries running with all the locking?
We are running WSUS fully patched on 2008 R2 for both master and downstream servers. The SUSDB is running on SQL 2008 R2 fully up to date not sql express or windows database.
Edited by davidb1234 2 hours 50 minutes ago