Windows Process Activation Service (WAS) 管理应用程序池配置以及 HTTP 和其他协议的工作进程的创建和生存期。World Wide Web 发布服务 (W3SVC) 和其他服务都依赖于 WAS。
此监视器检查 Windows Process Activation Service (WAS) 的状态。如果收到此监视器发出的警报,则需要执行操作以将服务恢复为操作状态。
Windows Process Activation Service (WAS) 管理应用程序池配置以及 HTTP 和其他协议的工作进程的创建和生存期。World Wide Web 发布服务 (W3SVC) 和其他服务都依赖于 WAS。
操作状态:
Windows Process Activation Service (WAS) 的操作状态可以是“服务正在运行”或“服务未运行”。
监视器将采用单个配置参数来控制启动类型未设置为“自动”时是否应监视服务。默认情况下,将监视服务,即使其启动类型为“手动”。这是因为在默认 IIS 10 安装中,WAS 服务的启动类型是“手动”。
服务可以由于很多原因而停止,包括:
管理员停止了服务。
由于无法对用户帐户进行身份验证,服务无法启动。
服务遇到异常而停止。
服务未正确配置,导致服务无法启动。
如果 Windows Process Activation Service (WAS) 状态为“未运行”,你可以通过执行下列操作来诊断问题或重新启动服务:
检查其他可能并发发生的、与服务相关的警报。这些警报可能帮助更好地识别服务进入停止状态的原因。
查看被管理的计算机上的事件日志,并更正任何可能导致服务意外停止的根本问题。
使用以下任务尝试重新启动服务。
由于 World Wide Web 发布服务依赖于 Windows Process Activation Service,你可能也需要启动它。
启动 Windows Process Activation Service (WAS) 服务
启动 Web 服务器 (W3SVC) 服务
Target | Microsoft.Windows.InternetInformationServices.10.0.WebServer | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.CheckNTServiceStateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<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>