Skip to content

IIS application pool

Use this runbook for IISApplicationPoolNotRunning and IISWorkerProcessesMissing.

1. Identify the affected pool

Get-IISAppPool | Format-Table Name,State
Get-WebAppPoolState -Name '<APP_POOL>'

2. Preserve evidence

Get-Date
Get-WinEvent -FilterHashtable @{
    LogName='System'
    StartTime=(Get-Date).AddMinutes(-30)
} | Where-Object {
    $_.ProviderName -match 'WAS|W3SVC'
} | Select-Object TimeCreated,ProviderName,Id,LevelDisplayName,Message |
    Format-List

Also inspect the IIS metrics and IIS Logs dashboards for queue depth, worker-process failures and HTTP errors.

3. Safe recovery

If the pool is stopped and there is no evidence of an active configuration or application fault:

Start-WebAppPool -Name '<APP_POOL>'

If it immediately stops again, do not repeatedly restart it. Investigate WAS events and rapid-fail protection.

If a recycle is an approved recovery action:

Restart-WebAppPool -Name '<APP_POOL>'

4. Verify

Get-WebAppPoolState -Name '<APP_POOL>'
Get-Process w3wp -ErrorAction SilentlyContinue |
    Select-Object Id,ProcessName,StartTime,CPU,WorkingSet

Confirm that the pool is Running, a worker process exists, the queue falls, new requests succeed, and the alert resolves.

Escalate when

  • the pool repeatedly stops;
  • worker processes repeatedly crash;
  • startup failures continue;
  • the incident follows a deployment or configuration change.