Skip to content
Documentation
Updated 6 minutes to read
Markdown

Proactively monitor and resolve SQL Server blocking issues with the Nodinite Database Monitoring Agent. Eliminate costly downtime, improve database performance, and resolve blocking incidents before they impact your business operations.

SQL Server blocked processes turns Warning, List blocked processes shows the blocked session, and Terminate the blocked by process ends the block, animated walkthrough (7.12)
Animated walkthrough: two sessions take the same application lock (the recipe under Troubleshooting). After 90 seconds 'SQL Server blocked processes' is Warning. List blocked processes shows the blocked SPID, its blocker, the wait type, and the wait time; Terminate the blocked by process (confirm) ends the block.

Why Monitor SQL Server Blocking Processes?

Section titled “Why Monitor SQL Server Blocking Processes?”

SQL Server blocking occurs when one process holds a lock on a resource that another process needs. Left undetected, blocking can:

  • Cause application timeouts – Users experience slow response times or complete application failures
  • Impact revenue – E-commerce transactions, order processing, and critical business operations grind to a halt
  • Cascade into deadlocks – Multiple blocked processes can escalate into deadlock situations requiring intervention
  • Frustrate end users – Poor performance damages user experience and productivity
  • Degrade system performance – Resource contention spreads across the entire database instance

Without proactive monitoring, teams discover blocking issues only after users complain—when it's already too late.

The Database Monitoring Agent continuously monitors your SQL Instance(s) for blocking processes and provides:

✅ Real-time blocking detection – Identify blocking chains the moment they occur
✅ Customizable thresholds – Set Warning and Error alerts based on blocking duration (seconds)
✅ Instant notifications – Get alerts via email, SMS, Teams, or any Alarm Plugin before users notice
✅ Remote remediation – Terminate blocking processes directly from the Nodinite Web Client
✅ Historical tracking – Audit blocking incidents to identify patterns and root causes
✅ Centralized dashboard – Monitor multiple SQL instances from one unified interface

Use this feature when you need to:

  • Protect production databases – Ensure mission-critical SQL instances remain responsive
  • Support high-transaction environments – Monitor OLTP systems where blocking frequently occurs
  • Meet SLA commitments – Detect and resolve issues before breaching performance agreements
  • Enable NOC/support teams – Provide non-DBAs with safe, controlled remediation actions
  • Identify performance bottlenecks – Track blocking patterns to optimize queries and indexes
  • Ensure 24/7 operations – Automate alerts for after-hours and weekend monitoring

When enabled, each monitored SQL Instance yields one Resource that the System Administrator can include in one or more Monitor Views. Users receive alerts using at least one of the built-in Alarm Plugins.

The Display name of the Resource is SQL Server blocked processes, one per instance, with the instance name as its Application. The SQL Blocking Resource is grouped by the Category name 'SQL Blocking'.

A Monitor View filtered on the SQL Blocking Category with SQL Server blocked processes OK (7.12)
Example of a Monitor View filtered by the 'SQL Blocking' category.

graph LR subgraph "Configuration" c["fal:fa-code SQL Blocking / Instance"] --> r[fal:fa-lightbulb 1 Resource] end

Each configuration is manifested as a Resource.

What are the key features of Monitoring Blocking processes?

Section titled “ What are the key features of Monitoring Blocking processes?”

What is evaluated for SQL Server Blocking?

Section titled “What is evaluated for SQL Server Blocking?”

The different possible evaluated states for your SQL Blocking are provided in the table below:

State Status Description Actions
🚫 Unavailable Resource not available Evaluation of the 'SQL Instance' is not possible either due to network or security-related problems Review prerequisites
Global Configuration
❌ Error Error state raised At least one process has been blocked longer than the allowed Error duration Edit configuration
Terminate running process
Terminate blocked by
⚠️ Warning Warning threshold is breached At least one process has been blocked longer than the allowed Warning duration
Log Text: A block was detected and it has exceeded the allowed Warning threshold duration of 90 seconds
Edit configuration
Terminate running process
Terminate blocked by
✅ OK Online The SQL Server instance is online, operational and accessible. No blocking processes according to the Monitoring thresholds Edit configuration

To manage the blocking process feature, navigate to the SQL Server Advanced tab in the Remote Configuration.

The Advanced tab of SQL Server Instance localhost in the Remote Configuration with SQL Blocking enabled and the Duration Warning 90 and Error 300 seconds (7.12)
Example of the Advanced tab for blocking process configuration.

  • SQL Blocking - Enabled – When checked, monitoring for Blocking is enabled
  • ⚠️ SQL Blocking - Duration Warning – The longest allowed duration for SQL Blocking in seconds before a Warning is raised (default 90)
  • ❌ SQL Blocking - Duration Error – The longest allowed duration for SQL Blocking in seconds before an Error is raised (default 300)

The Database Monitoring Agent supports remote actions. The following Actions are available in the Control Center part of the Action menu:

Action menu of SQL Server blocked processes with Edit thresholds and List blocked processes under Control Center (7.12)
Example of available actions for blocking processes.

Click List blocked processes in the Action menu. The List blocked processes dialog shows one row per blocked session, with the columns SPID, Blocked By, Start Time, Status, Command, Database Id, Database Name, Wait Time, and Wait Type.

List blocked processes dialog with one suspended session blocked by SPID 123 on ContosoOrdersArchive, wait type LCK_M_X (7.12)
Example of the blocking processes table.

Each row has its own Actions menu, where you can Terminate either the process being blocked or the process causing the block.

Terminate SPID menu of a row with Terminate the running process and Terminate the blocked by process (7.12)
Example of terminating actions for blocked processes.

To terminate the running process, click Terminate the running process in the row's Actions menu.

Next, a modal appears to allow the User in the Nodinite Web Client to confirm the intent to proceed with the operation.

Confirm intent to Terminate the running process
Example of the confirmation modal for terminating the running process.

Whether successful or not, a message appears to inform about the result.

Terminate the running process outcome
Example of the outcome after terminating the running process.

To terminate the blocked by process, click Terminate the blocked by process in the row's Actions menu.

Next, a modal appears to allow the User in the Nodinite Web Client to confirm the intent to proceed with the operation.

Execute action? Are you sure that you want to Terminate the blocked by process 123? (7.12)
Example of the confirmation modal for terminating the blocked by process.

Whether successful or not, a message appears to inform about the result: Terminate Blocking Process: The blocking by process with SPID 'n' was successfully terminated.

Action dialog: Terminate Blocking Process, the blocking by process with SPID 123 was successfully terminated (7.12)
Example of the outcome after terminating the blocked by process.

You can Edit the Monitoring thresholds for blocking SQL Server Processes. Click Edit thresholds in the Action menu.

A modal opens where the User may tweak the duration in seconds threshold, triggering the Error or Warning state. The defaults come from the Advanced tab (90 and 300 seconds).

Edit thresholds dialog for Blocked processes with the Duration thresholds Warning 90 and Error 300 seconds (7.12)
Example of the Edit Thresholds modal.

Click the Save button to persist changes.


If you want to play with this feature, you can run the following query in two separate windows in SSMS. The script causes the first session to acquire a lock, causing the second session to be blocked by the running process.

BEGIN TRANSACTION;
EXEC sp_getapplock @resource = 'Nodinite', @LockMode = 'Exclusive';
WAITFOR DELAY '00:13:37';
EXEC sp_releaseapplock @resource = 'Nodinite';
COMMIT TRANSACTION;

Add or manage Monitor View
Configuration - Configure global thresholds for SQL Blocking monitoring

Secure Custom Database Scripts and Actions
Database Monitoring Agent - Main overview of the Database Monitoring Agent
SQL Categories - Overview of all SQL Server monitoring features
SQL Instance - Monitor SQL Server instance health and availability
SQL Jobs - Monitor and manage SQL Server Agent Jobs
SQL Backups - Monitor SQL Server backup status and history
SQL Size Checks - Monitor database and log file sizes
SQL Statements - Create custom TSQL monitoring queries
Prerequisites for Database Monitoring Agent - Setup requirements
Monitor Views - Organize resources into monitoring dashboards
Resources - Understanding Nodinite resources

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...