Windows Process Activation service availability

Microsoft.Windows.InternetInformationServices.10.0.WAS.NTService.CheckServiceState.Monitor (UnitMonitor)

Windows Process Activation Service (WAS) manages application pool configuration and the creation and lifetime of worker processes for HTTP and other protocols. The World Wide Web Publishing Service (W3SVC) and other services depend on WAS.

Knowledge Base article:

Summary

This monitor checks the status of the Windows Process Activation service (WAS). If you receive an alert from this monitor, action is required in order to bring the service back to an operational state.

Windows Process Activation Service (WAS) manages application pool configuration and the creation and lifetime of worker processes for HTTP and other protocols. The World Wide Web Publishing Service (W3SVC) and other services depend on WAS.

Operational States:

The Windows Process Activation service (WAS) can be either in a "Service Running" or "Service Not Running" operational state.

Configuration

The monitor takes a single configuration parameter that controls whether the service should be monitored when its startup type is not set "Automatic". By default, the service will be monitored even though its startup type is "Manual". This is because in a default IIS 10 installation, the startup type of the WAS service is "Manual".

Causes

A service can stop for many reasons, including:

Resolutions

If the Windows Process Activation service (WAS) is not running you can diagnose the issue or restart the service by taking the following actions:

Start Windows Process Activation service (WAS) Service

Start Web Server (W3SVC) Service

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WebServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows Process Activation service is unavailable
The Windows Process Activation service on {0} is unavailable.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.10.0.WAS.NTService.CheckServiceState.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WebServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.10.0.WAS.NTService.CheckServiceState.Monitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>WAS</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>