Workflow Manager Front-End Thread Count Monitor

Microsoft.WorkflowManager.v1.WFFrontEndThreadsCountMonitor (UnitMonitor)

Percent value of recommended maximum Front-End thread count. By default this monitor is disabled. To enable it you should set the Max Threads Count, Threshold In Percent (warning threshold), Interval Seconds (period of measuring threads count) and Samples Count To Warning (indicates how many times a condition exceeded a configured threshold before generating an alert)

Knowledge Base article:

Summary

Recommended maximum Front End threads count monitor. By default this monitor is disabled. To enable it you should set up Max Threads Count, Threshold In Percent (warning threshold), Interval Seconds (period of measuring threads count) and Samples Count To Warning (indicates how many times a condition exceeded a configured threshold before alert will be generate)

Causes

Current Workflow Manager Frontend threads count is greater than the recommended threshold

Resolutions

There is not enough system resources for Workflow Manager Frontend, possible you should scale you Workflow Manager application

Element properties:

TargetMicrosoft.WorkflowManager.v1.WFFrontEndRole
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.WorkflowManager.v1.WFFrontEndThreadsCountMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Workflow Manager Front End Thread Count Alert
Workflow Manager Front End thread count (in W3WP processes) is near max thread count
RunAsMicrosoft.WorkflowManager.v1.WFDiscoveryMonitoringProfile

Source Code:

<UnitMonitor ID="Microsoft.WorkflowManager.v1.WFFrontEndThreadsCountMonitor" Accessibility="Public" Enabled="false" Target="Microsoft.WorkflowManager.v1.WFFrontEndRole" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" RunAs="Microsoft.WorkflowManager.v1.WFDiscoveryMonitoringProfile" TypeID="Microsoft.WorkflowManager.v1.WFFrontEndThreadsCountMonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.WorkflowManager.v1.WFFrontEndThreadsCountMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Normal" MonitorTypeStateID="Normal" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<MaxThreadsCount>1000</MaxThreadsCount>
<ThresholdInPercent>75</ThresholdInPercent>
<IntervalSeconds>300</IntervalSeconds>
<SamplesCountToWarning>6</SamplesCountToWarning>
</Configuration>
</UnitMonitor>