Skip to content

Blocking Processes

alinselicean edited this page Apr 23, 2023 · 3 revisions

Description

This alert checks for blocked process and triggers an alert when the blocked processes are exceeding a certain number and/or wait duration (expressed in milliseconds).

Check frequency

By default, the check runs every minute, but notifications are sent out based on the [repeat_notification_interval] setting (at the alert level, expressed in minutes).

Job

The SQL Agent job implementing this check is called "dba - alert blocking".

Threshold source

The threshold for this alert is set in the DBADashExt database and is independent of the ones defined in the DBADash configuration tables.

Troubleshooting

The first step in troubleshooting this alert is to check the Performance Summary tab in the DBADash tool for the affected server look at the Blocking chart. If you see bubbles, it's troubles.

Useful scripts

  1. Adam Machanic's sp_WhoIsActive -- leader of the block
  2. ...

More info on the blocking topic:

  1. Adam Machanic's sp_WhoIsActive blog -- blockers
  2. Adam Machanic's sp_WhoIsActive blog -- why am I blocked
  3. Adam Machanic's sp_WhoIsActive blog -- why am I blocked

Sample alert

This is a sample alert: image

Clone this wiki locally