locked
IIS 100% CPU Usage for the WSUS Application Pool RRS feed

  • Question

  • Server 2012 (not R2), SQL 2008 R2 SP2, SCCM 2012 R2 CU4

    This seems to have started at 7 am yesterday morning, i have gone through every log i can think of any cannot identify what changed at that point but i cannot see anything, but since then the WSUS App Pool has maxed out the CPU.

    It is SCCM integrated so i have checked the SCCM logs also, there was no activity at that time, we are not doing any deployments, no patch download activity.

    I have recycled the apppool, restarted IIS and then restarted the server, but with the same result.

    I have increased the number of threads in the app pool to 2 and then 4 and left it for a few hours, but that didnt resolve the issue.

    The only way is to stop that AppPool, which obviously kills WSUS.

    Can anyone suggest how i can identify the cause of this problem and how i can resolve it?  This is having a significant impact on the server overall, and also the VMWare host.

    This is the log from a client machine:

    2015-03-18	09:39:52:912	1156	34f0	PT	+++++++++++  PT: Synchronizing server updates  +++++++++++
    2015-03-18	09:39:52:912	1156	34f0	PT	  + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://HRHBarSCCM01.purple.zebra.ad:8530/ClientWebService/client.asmx
    2015-03-18	09:40:38:549	1156	34f0	PT	WARNING: PopulateDataStore failed: 0x8007000e
    2015-03-18	09:40:38:549	1156	34f0	PT	WARNING: Sync of Updates: 0x8007000e
    2015-03-18	09:40:38:549	1156	34f0	PT	WARNING: SyncServerUpdatesInternal failed: 0x8007000e
    2015-03-18	09:40:38:549	1156	34f0	Agent	  * WARNING: Failed to synchronize, error = 0x8007000E
    2015-03-18	09:40:38:559	1156	34f0	Agent	  * WARNING: Exit code = 0x8007000E
    2015-03-18	09:40:38:559	1156	34f0	Agent	*********
    2015-03-18	09:40:38:559	1156	34f0	Agent	**  END  **  Agent: Finding updates [CallerId = CcmExec]
    2015-03-18	09:40:38:559	1156	34f0	Agent	*************
    2015-03-18	09:40:38:559	1156	34f0	Agent	WARNING: WU client failed Searching for update with error 0x8007000e
    2015-03-18	09:40:38:596	5320	4748	COMAPI	>>--  RESUMED  -- COMAPI: Search [ClientId = CcmExec]
    2015-03-18	09:40:38:597	5320	4748	COMAPI	  - Updates found = 0
    2015-03-18	09:40:38:597	5320	4748	COMAPI	  - WARNING: Exit code = 0x00000000, Result code = 0x8007000E
    2015-03-18	09:40:38:597	5320	4748	COMAPI	---------
    2015-03-18	09:40:38:597	5320	4748	COMAPI	--  END  --  COMAPI: Search [ClientId = CcmExec]
    2015-03-18	09:40:38:597	5320	4748	COMAPI	-------------
    2015-03-18	09:40:38:597	5320	4748	COMAPI	WARNING: Operation failed due to earlier error, hr=8007000E
    2015-03-18	09:40:38:597	5320	4748	COMAPI	FATAL: Unable to complete asynchronous search. (hr=8007000E)
    2015-03-18	09:40:43:569	1156	34f0	Report	REPORT EVENT: {BACC85F6-76C2-466B-8E8D-AE41AE572666}	2015-03-18 09:40:38:558-0000	1	148	101	{00000000-0000-0000-0000-000000000000}	0	8007000e	CcmExec	Failure	Software Synchronization	Windows Update Client failed to detect with error 0x8007000e.
    2015-03-18	09:40:43:679	1156	34f0	Report	CWERReporter::HandleEvents - WER report upload completed with status 0x8
    2015-03-18	09:40:43:680	1156	34f0	Report	WER Report sent: 7.6.7600.320 0x8007000e 00000000-0000-0000-0000-000000000000 Scan 101 Managed
    2015-03-18	09:40:43:680	1156	34f0	Report	CWERReporter finishing event handling. (00000000)

    Here is some of the SoftwareDistribution log, not sure if it helps?:

    2015-03-18 09:44:26.756 UTC	Info	w3wp.27	ThreadEntry	ThreadHelper.ThreadStart
    2015-03-18 09:44:26.790 UTC	Info	w3wp.27	SusEventDispatcher.DispatchManagerWorkerThreadProc	DispatchManager Worker Thread Processing NotificationEvent: ConfigurationChange
    2015-03-18 09:44:26.984 UTC	Warning	w3wp.32	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=4fa10fc8-7ea9-431d-9be5-683e396a69b8, ErrorCode=ConfigChanged, Message=, Client=bb1a7f32-c4b9-4df8-a5ca-718630b1dbf7
    2015-03-18 09:44:27.543 UTC	Info	w3wp.24	SusEventDispatcher.RegisterEventHandler	RegisterEventHandler called for NotificationEventName: ConfigurationChange
    2015-03-18 09:44:27.603 UTC	Warning	w3wp.32	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=e4928875-2d70-45e8-977b-6d9aca3a8547, ErrorCode=ConfigChanged, Message=, Client=93f9ce6a-49c9-4920-a575-657d9c180489
    2015-03-18 09:44:27.620 UTC	Info	w3wp.14	ThreadEntry	TimerQueue.FireNextTimers
    2015-03-18 09:44:27.634 UTC	Warning	w3wp.14	DBConnection.OnReceivingInfoMessage	 The join order has been enforced because a local join hint is used.
    2015-03-18 09:44:28.162 UTC	Info	w3wp.25	SusEventDispatcher.TriggerEvent	TriggerEvent called for NotificationEventName: DeploymentChange, EventInfo: DeploymentChange
    2015-03-18 09:44:28.195 UTC	Info	w3wp.25	SusEventDispatcher.TriggerEvent	TriggerEvent called for NotificationEventName: FileLocationChange, EventInfo: FileLocationChange
    2015-03-18 09:44:28.236 UTC	Info	w3wp.25	SusEventDispatcher.TriggerEvent	TriggerEvent called for NotificationEventName: HardwareIDChange, EventInfo: HardwareIDChange
    2015-03-18 09:44:28.280 UTC	Info	w3wp.25	SusEventDispatcher.TriggerEvent	TriggerEvent called for NotificationEventName: LanguageChange, EventInfo: LanguageChange
    2015-03-18 09:44:28.287 UTC	Warning	w3wp.18	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=e852438f-f0bb-4901-8182-b16977d8993b, ErrorCode=ConfigChanged, Message=, Client=d3f518a6-1577-4bbe-b786-8095276e2113
    2015-03-18 09:44:28.763 UTC	Warning	w3wp.16	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=baa34dd9-f124-40ea-afe8-d6d643784855, ErrorCode=ConfigChanged, Message=, Client=67dec671-061d-4d01-915e-ee9f7136e3c8
    2015-03-18 09:44:29.200 UTC	Warning	w3wp.32	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=59ed616c-98aa-461f-a048-f8a3c5e1887c, ErrorCode=ConfigChanged, Message=, Client=df879efc-f34e-4701-aba6-7e64b6c76380
    2015-03-18 09:44:29.306 UTC	Warning	w3wp.16	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=0bd613df-90c3-4eac-afa2-b5a43e846ddf, ErrorCode=ConfigChanged, Message=, Client=51bd87e1-8279-4257-bc39-d2cec36e60bb
    2015-03-18 09:44:29.364 UTC	Info	w3wp.27	ThreadEntry	ThreadPoolWorkQueue.Dispatch
    2015-03-18 09:44:29.375 UTC	Warning	w3wp.27	DBConnection.OnReceivingInfoMessage	 event(s) already in database dropped
    2015-03-18 09:44:29.379 UTC	Warning	w3wp.16	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=20d2c6f4-5a6d-40be-9f04-f4bc4f6bec5e, ErrorCode=ConfigChanged, Message=, Client=c51bf84d-a3b4-466c-9307-1d08c46461d0
    2015-03-18 09:44:29.622 UTC	Warning	w3wp.32	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=cd22e877-e776-46b6-8f43-5f59e7b9f38a, ErrorCode=ConfigChanged, Message=, Client=353ec0c6-0938-4cf4-8568-29e607d5e6c2
    2015-03-18 09:44:29.817 UTC	Info	w3wp.8	ThreadEntry	PipelineRuntime.ProcessRequestNotification
    2015-03-18 09:44:29.826 UTC	Warning	w3wp.8	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=e52039bb-5748-45a0-91fc-f0157323c326, ErrorCode=ConfigChanged, Message=, Client=7aad013d-587c-465d-aab0-78840fca6ea3
    2015-03-18 09:44:29.920 UTC	Info	w3wp.18	ThreadEntry	ThreadHelper.ThreadStart
    2015-03-18 09:44:29.926 UTC	Info	w3wp.18	SusEventDispatcher.RegisterEventHandler	RegisterEventHandler called for NotificationEventName: ConfigurationChange
    2015-03-18 09:44:29.983 UTC	Warning	w3wp.18	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=46ce2d5f-5d2f-4837-b865-8e191b50f738, ErrorCode=ConfigChanged, Message=, Client=e98846d2-6f99-498c-9884-3a99fc03b531
    2015-03-18 09:44:30.008 UTC	Info	w3wp.34	ThreadEntry	ThreadPoolWorkQueue.Dispatch
    2015-03-18 09:44:30.013 UTC	Warning	w3wp.34	DBConnection.OnReceivingInfoMessage	 event(s) already in database dropped
    2015-03-18 09:44:30.030 UTC	Warning	w3wp.34	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=083e7336-a4a0-4c7d-b921-cfdd6df09e21, ErrorCode=ConfigChanged, Message=, Client=1714ccc6-c645-47c7-89e5-9173ab48d770
    2015-03-18 09:44:30.032 UTC	Warning	w3wp.8	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=2b5fdd77-e75b-4701-8041-7f31b3eb4436, ErrorCode=ConfigChanged, Message=, Client=8156358d-f208-4a66-b752-380c4d9ca5a7
    2015-03-18 09:44:30.054 UTC	Warning	w3wp.18	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=65e99d93-c721-4127-adfb-3ca39066887f, ErrorCode=ConfigChanged, Message=, Client=b6da99f5-9e56-4a29-816e-e8c4934d3f26
    2015-03-18 09:44:30.065 UTC	Warning	w3wp.8	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=f2dae856-3375-45c8-9452-eecf2f180d13, ErrorCode=ConfigChanged, Message=, Client=92d3369c-9788-4db7-8ea6-e35050dd4f75
    2015-03-18 09:44:30.090 UTC	Warning	w3wp.33	DBConnection.OnReceivingInfoMessage	 event(s) already in database dropped
    2015-03-18 09:44:30.109 UTC	Warning	w3wp.16	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=b5416339-2fea-4963-aa23-539bcd5ee937, ErrorCode=ConfigChanged, Message=, Client=036cd4ee-fbf4-437b-85fd-015ef9616ebc
    2015-03-18 09:44:30.146 UTC	Warning	w3wp.30	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=56975103-8dec-4f03-94e6-ad01c78b65c8, ErrorCode=ConfigChanged, Message=, Client=3c430b19-7798-4c4a-8e00-a006bbe07190
    2015-03-18 09:44:30.155 UTC	Warning	w3wp.16	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=8a291c67-91af-42f6-9763-1020457aa098, ErrorCode=ConfigChanged, Message=, Client=3ac5f05c-5a32-4fc6-823b-a632dc2681bc
    2015-03-18 09:44:30.191 UTC	Warning	w3wp.18	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=0e3fda95-38cd-4d21-8680-ea18f4329ffa, ErrorCode=ConfigChanged, Message=, Client=7e10d6c2-767d-4b6f-9a46-e9334ed8a851
    2015-03-18 09:44:30.192 UTC	Warning	w3wp.8	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=c2886e2b-74f3-4e73-bfbb-a10499ff48ae, ErrorCode=ConfigChanged, Message=, Client=5d7f5f94-d8b8-4f1c-8c83-15aee98f9cd8
    2015-03-18 09:44:30.203 UTC	Warning	w3wp.33	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=3b52919f-8ec2-434d-9c3c-ad4b1513b9b8, ErrorCode=ConfigChanged, Message=, Client=ac5edb8f-4217-4ddd-96c3-ced5062aed03
    2015-03-18 09:44:30.228 UTC	Warning	w3wp.10	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=291d124e-41cc-4bf0-8c21-bbd53a245ecf, ErrorCode=ConfigChanged, Message=, Client=9e5fe2b4-e0e9-4dce-a3c1-3571e6ef0615
    2015-03-18 09:44:30.267 UTC	Warning	w3wp.33	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=c5fb92e0-83cc-45f5-b97e-b7f60e1d9648, ErrorCode=ConfigChanged, Message=, Client=6b2db75c-5d24-491a-8ba1-a10452cb7751
    2015-03-18 09:44:30.269 UTC	Info	w3wp.35	ThreadEntry	PipelineRuntime.ProcessRequestNotification
    2015-03-18 09:44:30.272 UTC	Warning	w3wp.35	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=ca9b8c41-6656-404e-ac67-11f6883094d7, ErrorCode=ConfigChanged, Message=, Client=cf48b437-cd09-4ac7-81b7-86d2e4dbf770
    2015-03-18 09:44:30.268 UTC	Warning	w3wp.30	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=31fe9c19-ec01-4f1e-9d7b-1478712aaba2, ErrorCode=ConfigChanged, Message=, Client=9f9f651d-dcac-4723-9baf-f538bfe4c0d1
    2015-03-18 09:44:30.279 UTC	Warning	w3wp.34	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=85a0d322-01d5-4eea-8c8e-84d8fb20cd82, ErrorCode=ConfigChanged, Message=, Client=d9bfbf28-ca2b-4060-9c8d-d6ab5f9849bb
    2015-03-18 09:44:30.280 UTC	Warning	w3wp.18	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=335ece2b-87a0-4072-88a8-f338dad72933, ErrorCode=ConfigChanged, Message=, Client=7ea861cb-1ee5-430b-869a-0f8aa5324f52
    2015-03-18 09:44:30.376 UTC	Warning	w3wp.10	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=a778ca77-4d11-41b3-a746-4cac4f6ef6ef, ErrorCode=ConfigChanged, Message=, Client=58667906-123e-41c5-8fb3-3c8d7eb6db10
    2015-03-18 09:44:30.408 UTC	Warning	w3wp.35	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=218c4965-a4fc-48a4-b237-87c91c83b61a, ErrorCode=ConfigChanged, Message=, Client=6e599865-c64e-4d81-b7c2-8531d96ae2d8
    2015-03-18 09:44:30.553 UTC	Warning	w3wp.33	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=51a829c0-9c3a-4391-b9c0-8f1fd5e2bf44, ErrorCode=ConfigChanged, Message=, Client=b5024229-2977-46a3-9289-8caf5ebefc6e
    2015-03-18 09:44:30.560 UTC	Warning	w3wp.12	SoapUtilities.CreateException	ThrowException: actor = http://hrhbarsccm01.purple.zebra.ad:8530/ClientWebService/client.asmx, ID=ec9c4a22-f6fc-4196-a8f2-2f92f14792a3, ErrorCode=ConfigChanged, Message=, Client=6ac5d8f0-8281-41bf-a891-58f158a913c5
    2015-03-18 09:44:31.420 UTC	Info	w3wp.16	ThreadEntry	ThreadHelper.ThreadStart
    2015-03-18 09:44:31.426 UTC	Info	w3wp.16	SusEventDispatcher.TriggerEvent	TriggerEvent called for NotificationEventName: ConfigurationChange, EventInfo: ConfigurationChange
    2015-03-18 09:44:31.429 UTC	Info	w3wp.3	ThreadEntry	ThreadHelper.ThreadStart
    2015-03-18 09:44:31.430 UTC	Info	w3wp.43	ThreadEntry	ThreadPoolWorkQueue.Dispatch
    2015-03-18 09:44:31.431 UTC	Info	w3wp.3	SusEventDispatcher.DispatchManagerWorkerThreadProc	DispatchManager Worker Thread Processing NotificationEvent: ConfigurationChange
    2015-03-18 09:44:31.434 UTC	Error	w3wp.43	ReportingDatabaseAccess.AddReportingEventBatchToDatabase	Error occurred while writing events to the database. Exception: System.Threading.ThreadAbortException: Thread was being aborted.


    Wednesday, March 18, 2015 9:45 AM

Answers

  • Hi,

    Firstly, please run windows updates and install all latest patches on the WSUS server.

    Then you can enabling CPU Monitoring in IIS for WSUS application pool and use Performance monitor to collect a Performance Monitor Data Collector Set and analyze the data to find the root reason:

    Troubleshooting High CPU in an IIS 7.x Application Pool

    Best regards,

    Susie


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Susie Long Tuesday, March 24, 2015 8:59 AM
    • Marked as answer by Susie Long Thursday, March 26, 2015 7:58 AM
    Friday, March 20, 2015 8:33 AM

All replies

  • Also, this WSUS server pulls from an upstream server.
    Wednesday, March 18, 2015 9:56 AM
  • Hi,

    Firstly, please run windows updates and install all latest patches on the WSUS server.

    Then you can enabling CPU Monitoring in IIS for WSUS application pool and use Performance monitor to collect a Performance Monitor Data Collector Set and analyze the data to find the root reason:

    Troubleshooting High CPU in an IIS 7.x Application Pool

    Best regards,

    Susie


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Susie Long Tuesday, March 24, 2015 8:59 AM
    • Marked as answer by Susie Long Thursday, March 26, 2015 7:58 AM
    Friday, March 20, 2015 8:33 AM
  • Hi,

    Firstly, please run windows updates and install all latest patches on the WSUS server.

    Then you can enabling CPU Monitoring in IIS for WSUS application pool and use Performance monitor to collect a Performance Monitor Data Collector Set and analyze the data to find the root reason:

    Troubleshooting High CPU in an IIS 7.x Application Pool

    Best regards,

    Susie


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thanks Susie - The CPU monitoring link is for Server 2003?  I cant find anything similar in IIS8, is there a similar option for "Action performed when CPU usage exceeds maximum CPU use"?


    Thursday, April 2, 2015 10:18 AM
  • You have seen this?

    Support Tip: High CPU utilization on Domain Controllers due to WSUS App Pool issue


    Rolf Lidvall, Swedish Radio (Ltd)


    Thursday, April 2, 2015 12:17 PM
  • Did you find any reason for WsusPool eating up all CPU? I keep monitoring it with command: c:\Windows\System32\inetsrv>appcmd list wp
    Wednesday, January 20, 2016 9:00 AM
  • so was the solution to this doing updates or something else?

    Tuesday, April 12, 2016 3:22 AM
  • I had the same issue.

    Updated the OS etc. to current, the issue did not resolve. The solution I found was to reinstall WSUS on the server. You an keep the existing content, DB. Just uninstall WSUS and install again using exiting content and DB.

    Issue seems to be with the WSUSPool becoming corrupt.

    Wednesday, January 11, 2017 12:50 AM
  • I had the same issue.

    Updated the OS etc. to current, the issue did not resolve. The solution I found was to reinstall WSUS on the server. You an keep the existing content, DB. Just uninstall WSUS and install again using exiting content and DB.

    Issue seems to be with the WSUSPool becoming corrupt.

    _Russo_

    j am running into this exact same issue.

    However not being the original install of the Sccm server wanted to know the to uninstall and re-install wsus on the server.  running current branch, on server 2012 r2 and sql db.  Any instructions provided would be appreciated.  just need to know if need to remove sup from sccm and then uninstall wsus or the exact steps you took to fix this.

    Thanks

    Tuesday, August 8, 2017 1:15 PM
  • My script usually clears this problem up.

    Have a peek at my Adamj Clean-WSUS script. It is the last WSUS Script you will ever need.

    http://community.spiceworks.com/scripts/show/2998-adamj-clean-wsus

    What it does:

    1. Remove all Drivers from the WSUS Database.
    2. Shrink your WSUSContent folder's size by declining superseded updates.
    3. Remove declined updates from the WSUS Database.
    4. Clean out all the synchronization logs that have built up over time (configurable, with the default keeping the last 14 days of logs).
    5. Compress Update Revisions.
    6. Remove Obsolete Updates.
    7. Computer Object Cleanup (configurable, with the default of deleting computer objects that have not synced within 30 days).
    8. Application Pool Memory Configuration to display the current private memory limit and easily increase it by any configurable amount.
    9. Run the Recommended SQL database Maintenance script on the actual SQL database.
    10. Run the Server Cleanup Wizard.

    It will email the report out to you or save it to a file, or both.

    Although the script is lengthy, it has been made to be super easy to setup and use. There are some prerequisites and instructions at the top of the script. After installing the prerequisites and configuring the variables for your environment, simply run:

    .\Clean-WSUS.ps1 -FirstRun

    and then

    .\Clean-WSUS.ps1 -InstallTask

    If you wish to view or increase the Application Pool Memory Configuration, you must run it with the required switch. See Get-Help .\Clean-WSUS.ps1 -Examples

    If you're having trouble, there's also a -HelpMe option that will create a log so you can send it to me for support.


    Adam Marshall, MCSE: Security
    http://www.adamj.org

    Saturday, August 12, 2017 3:12 AM