{"id":3141,"date":"2018-04-06T23:57:02","date_gmt":"2018-04-06T23:57:02","guid":{"rendered":"http:\/\/pariswells.com\/blog\/?p=3141"},"modified":"2023-07-17T11:41:26","modified_gmt":"2023-07-17T11:41:26","slug":"wsus-best-practices-fixing-the-wsus-content-directory-is-not-accessible-503","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/random\/wsus-best-practices-fixing-the-wsus-content-directory-is-not-accessible-503","title":{"rendered":"WSUS Best Practices ( Fixing The WSUS content directory is not accessible ) 503"},"content":{"rendered":"\n<p>Recently on adding some machines and updates to a existing WSUS server that had been stable for a whole year, I was getting the server being unresponsive , and the<strong>&nbsp;reset server node<\/strong>&nbsp;would not work<\/p>\n\n\n\n<p>After restarting the Windows Update Server Service , the error below would display in the event log :&nbsp;<\/p>\n\n\n\n<p><strong>The WSUS content directory is not accessible. System.Net.WebException: The remote server returned an error: (503) Server Unavailable. at System.Net.HttpWebRequest.GetResponse() at Microsoft.UpdateServices.Internal.HealthMonitoring.HmtWebServices.CheckContentDirWebAccess(EventLoggingType type, HealthEventLogger logger)<\/strong><\/p>\n\n\n\n<p>Running&nbsp;<strong>IISRest<\/strong>&nbsp;in the Command prompt brought the site back online&nbsp; , however clearly this was a workaround to teh&nbsp;crash , Turns out you need some tweaking of the Website in IIS to stop this!<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On your WSUS Server, launch the IIS Manager<\/li>\n\n\n\n<li>Open Application Pools<\/li>\n\n\n\n<li>Right click &#8216;WsusPool&#8217; and select &#8216;Advanced Settings&#8230;&#8217;<\/li>\n\n\n\n<li>To support the maximum SCCM Software Update Point clients, change &#8216;Queue Length&#8217; from the default 1,000 to 25,000<br><a href=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/01\/72\/49\/4401.WsusPool_Top.PNG\"><\/a><\/li>\n\n\n\n<li>If your server is NUMA aware, change &#8216;Maximum Worker Processes&#8217; from the default 1 to 0. If you don&#8217;t know if your server is NUMA aware, leave this value default<br><a href=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/01\/72\/49\/7215.WsusPool_Mid.PNG\"><\/a><\/li>\n\n\n\n<li>Change &#8216;&#8221;Service Unavailable&#8221; Response Type&#8217; from the default HttpLevel to TcpLevel<\/li>\n\n\n\n<li>Change &#8216;Failure Interval (minutes) from the default 5 to 30<\/li>\n\n\n\n<li>Change &#8216;Maximum Failures&#8217; from the default 5 to 60<br><a href=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/01\/72\/49\/6266.WsusPool_Bot.PNG\"><\/a><\/li>\n\n\n\n<li>Click &#8216;OK&#8217; to save the App Pool changes<\/li>\n\n\n\n<li>From an administrative command prompt, type IISRESET<\/li>\n<\/ol>\n\n\n\n<p>This is also a good Cleanup script to schedule :&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/community.spiceworks.com\/scripts\/show\/2998-wsus-automated-maintenance-formerly-adamj-clean-wsus\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Recently on adding some machines and updates to a existing WSUS server that had been stable for a whole year, I was getting the server being unresponsive [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[2358,2357,2355,2356,925,923],"class_list":["post-3141","post","type-post","status-publish","format-standard","hentry","category-random","tag-2358","tag-reset-server-node","tag-the-wsus-content-directory-is-not-accessible","tag-unresponsive","tag-windows-update-services","tag-wsus"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=3141"}],"version-history":[{"count":2,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3141\/revisions"}],"predecessor-version":[{"id":7178,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3141\/revisions\/7178"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=3141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=3141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=3141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}