Time for wsusutil.exe deleteunneededrevisions

Time for wsusutil.exe deleteunneededrevisions

Post by Dave Mill » Mon, 02 Jan 2006 22:34:45


How long does "wsusutil.exe deleteunneededrevisions" take to run. My
test system is running WSUS on W2K with MSDE. It only has 512MB Ram
and 4 clients. When I ran wsusutil.exe deleteunneededrevisions the
first time it terminated with

C:\Program Files\Update Services\Tools>wsusutil.exe
deleteunneededrevisions
Database cleanup is in progress, please be patient
Database cleanup encountered an error, please check your server and
try again
Fatal Error: Timeout expired. The timeout period elapsed prior to
completion of
the operation or the server is not responding.

On re-running it ran for 2 hours and used more than 1 hour of CPU in
the sqlservr.exe process and just 2 seconds CPU in WSUSUTIL.EXE

Is this normal?
--
Dave Mills
There are 10 type of people, those that understand binary and those that don't.
 
 
 

Time for wsusutil.exe deleteunneededrevisions

Post by Dave Mill » Mon, 02 Jan 2006 22:53:38

On Sun, 01 Jan 2006 13:34:45 +0000, Dave Mills



PS I eventually terminated it.
--
Dave Mills
There are 10 type of people, those that understand binary and those that don't.

 
 
 

Time for wsusutil.exe deleteunneededrevisions

Post by Jeff Centi » Tue, 03 Jan 2006 01:15:50

I've seen this a couple times myself - but only on one of my virtual
machines I use for testing. If my memory is correct - I just re-ran the
utility a few times and it eventually finished. I'm sure it has a lot of
work to do the first time... and much less on subsequent successful runs.
Also, the reason it is the SQL process using CPU and not anything WSUS
related is because the metadata it is cleaning up is inside SQL... so there
really isn't much wsusutil does except fire off a SQL job.

Happy New Year!

--
Jeff Centimano
MVP - Windows Server (WSUS)
http://www.yqcomputer.com/
 
 
 

Time for wsusutil.exe deleteunneededrevisions

Post by Dave Mill » Sat, 07 Jan 2006 03:57:27

On Sun, 1 Jan 2006 10:15:50 -0600, "Jeff Centimano [MVP-Windows



Well I ran it and ran and ran it again and again. I ran
WsusDebugTool.exe /Tool:PurgeUnneededFiles
Then WSUSUTIL some more

and eventually IT WORKED Yippee!

Thanks
--
Dave Mills
There are 10 type of people, those that understand binary and those that don't.