SharePoint 2013 Workflow Manager 백엔드 높은 CPU 사용량
최근 WFE에서 높은 CPU 사용량을 경험하기 시작한 SharePoint 2013 온-프레미스 팜이 있습니다. 서버는 지금 끝날 때까지 99 %로 잠겼으며이를 유발하는 서비스는 모두 워크 플로 관련입니다.

원인이 무엇인지 확실하지 않습니다. 우리는 이것이 원인이라고 생각할 수있는 유일한 방법 인 레일을 벗어나는 워크 플로우를 찾을 수없는 것 같습니다. 워크 플로 팜은 정상 상태 인 것으로 보이며 재구성하면 우리 회사에서 크게 의존하는 모든 실행중인 워크 플로 인스턴스가 종료되므로 현재로서는 실제로 옵션이 아닙니다. 우리 팜은 1 개의 WFE, 1 개의 앱 서버 및 1 개의 데이터베이스 서버로 구성됩니다. 워크 플로는 WFE에서 구성되며 예, 이것이 모범 사례가 아님을 알고 있습니다.
다음은 높은 CPU 사용량이 시작 되 자마자 발생하기 시작한 두 가지 이벤트입니다.
ServiceBus threw MessageNotFound exception while trying to receive a deferred message. Deferred message context details: MessageId = 573074, ActionNamespace = Microsoft.Workflow.Management, ActionName = Terminate, InstanceId = {6b339f70-34ce-464a-8b62-e27dea949015}, ResumptionKey = (null), MessageTraceId = {44259071-166f-4d87-b770-d26787e35b85}
/sharepoint/default/81f1359d-754d-4ef9-b013-c63410d5762b/156d509e-da00-4f68-be8e-2ded413ffb90/53a8f467-11ff-ff92-ee48-0070fd375256_dbbeb1cc-941b-4cfb-a778-59bd88be507d: The instance attempted to process the same message too many times. The message may be causing an unexpected failure. The limit is controlled by the MaxMessageProcessingAttemptsOnUnknownFailure and MaxMessageProcessingAttemptsOnKnownFailure system configuration values (currently set to 10 and 1000). The actual values seen are 0 and 1000.
이 문제에 대한 모든 통찰력을 주시면 감사하겠습니다.
답변
작업 흐름 관리자에 대한 급한 부하이며 이러한 심각한 상황을 피하기 위해 서버의 메모리를 늘려야합니다.
다음과 같이 허용되는 최대 상관 관계 필터를 늘리십시오.
Stop-SBFarm
PowerShell을 실행합니다.
Set-SBRuntimeSetting -Name MaximumNumberOfCorrelationFiltersPerTopic -Value 1000000
SBMessageContainer01에 대해 SQL 쿼리를 실행합니다.
UPDATE TopicsTable SET MaxCorrelationFilters = 1000000
시작 -SBFarm
이 작업을 수행 한 후에는 현재 서버의 메모리를 늘려서 높은 소비량을 처리해야합니다.
또한 일반적으로 WFE 서버가 아닌 앱 서버에 워크 플로를 설치하는 것이 좋습니다.
참고로 유사한 문제 :
https://social.msdn.microsoft.com/Forums/en-US/374dcdbf-1022-4d72-9ca5-33ec05d1c712/designer-workflow-statusterminated-the-workflow-exceeded-the-maximum-number-of-attempts-to?forum=sharepointcustomization
SharePoint 2013 Workflow Manager 1.0으로 인해 서버에서 높은 CPU 발생