超出記憶體限制時,應用程式集區會進行回收 (SharePoint Server)Application pools recycle when memory limits are exceeded (SharePoint Server)

摘要: 了解如何解決 SharePoint Server 2016 和 SharePoint 2013 的 SharePoint Health Analyzer 規則 「超出記憶體限制時,應用程式集區會進行回收」。Summary: Learn how to resolve the SharePoint Health Analyzer rule "Application pools recycle when memory limits are exceeded" for SharePoint Server 2016 and SharePoint 2013.

規則名稱: 超出記憶體限制時,應用程式集區會進行回收。Rule Name: Application pools recycle when memory limits are exceeded.

摘要: 應用程式集區由於啟用並超出記憶體限制而進行回收。根據記憶體限制的回收通常在 64 位元的環境中並不需要,因此不應啟用回收。非必要的回收可能導致來自已回收工作者處理序的丟棄要求,並在使用者要求新工作者處理序時效能低落。Summary: Application pools recycle because memory limits have been enabled and exceeded. Recycling based on memory limits is not usually necessary in a 64-bit environment, and therefore recycling should not be enabled. Unnecessary recycling can result in dropped requests from the recycled worker process and slow performance for end users who are making requests to the new worker process.

原因: 應用程式集區已設定成當超出記憶體限制時進行回收。Cause: Application pools are configured to recycle when memory limits are exceeded.

解決方案:在 Internet Information Services (IIS) 中變更應用程式集區回收設定。Resolution: Change the application pool recycling settings in Internet Information Services (IIS).

  1. 確認執行此程序的使用者帳戶是伺服器陣列管理員群組的成員。Verify that the user account that is performing this procedure is a member of the Farm Administrators group.

  2. 識別發生此事件的伺服器。在 SharePoint 管理中心網站上,按一下 [監視]**** 區段中的 [檢閱問題與方案]*,然後在 [失敗的伺服器]* 欄中尋找伺服器的名稱。如果伺服器陣列中有多部失敗的伺服器,則必須在每部失敗的伺服器上重複下列步驟。Identify the server on which this event occurs. On the Central Administration Web site, in the Monitoring section, click Review problems and solutions, and then find the name of the server in the Failing Servers column. If there are multiple failing servers in a server farm, you must repeat the following steps on each failing server.

  3. 確認執行下列步驟的使用者帳戶是您在先前步驟中識別之本機電腦上系統管理員群組的成員。Verify that the user account that is performing the following steps is a member of the Administrators group on the local computer that you identified in the previous step.

  4. 登入發生此事件的伺服器。Log on to the server on which this event occurs.

  5. 在「伺服器管理員」中,按一下 [工具]*,然後按一下 [Internet Information Services (IIS) 管理員]In Server Manager, click **Tools, and then click **Internet Information Services (IIS) Manager*.

  6. 在 Internet Information Services 管理主控台的 [連線]**** 窗格中,展開樹狀檢視,然後按一下 [應用程式集區]*In the Internet Information Services management console, in the *Connections pane, expand the tree view, and then click Application Pools.

  7. 在 [應用程式集區]**** 清單中,於您要停用記憶體限制的應用程式集區上按一下滑鼠右鍵,然後按一下 [回收]*In the *Application Pools list, right-click the application pool on which you want to disable the memory limits, and then click Recycling.

  8. 在 [編輯應用程式集區回收設定]**** 對話方塊中,清除 [記憶體上限]**** 區段中的 [虛擬記憶體使用量 (KB)]**** 和 [專用記憶體使用量 (KB)]**** 核取方塊,然後按 [下一步]*In the *Edit Application Pool Recycling Settings dialog box, in the Memory Based Maximums section, clear the Virtual memory usage (in KB) and Private memory usage (in KB) check boxes, and then click Next.

  9. 在 [記錄回收事件]**** 對話方塊中,按一下 [完成]*In the *Recycling Events to Log dialog box, click Finish.

另請參閱See also

其他資源Other Resources

應用程式集區的回收設定<recycling>Recycling Settings for an Application Pool <recycling>