Skip to content

Commit 8bd0586

Browse files
committed
PR feedback
1 parent de9fbab commit 8bd0586

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

support/sql/database-engine/agent/job-failed-error-258.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ This issue can be caused by any of the following underlying problems:
6464
GO
6565
```
6666
67-
Analyze the query output for any jobs which are enabled but have failed, make note of when the next run for the job is scheduled.
67+
Analyze the query output for any jobs which are enabled but have failed. Investigate the job history and job-step outputs for any problematic jobs to identify and fix underlying issues.
6868
6969
1. Detect blocking on `msdb` Agent system tables by running the following query in SSMS:
7070
@@ -81,9 +81,17 @@ This issue can be caused by any of the following underlying problems:
8181
```
8282
8383
1. If blocking sessions are found, investigate the blocking query using `sys.dm_exec_requests` and `sys.dm_exec_sql_text`. Then, resolve or kill the blocking session.
84-
1. Check the system health extended events for any worker, thread, or resource issues by running the queries provided in [Understand and resolve SQL Server blocking problems](/troubleshoot/sql/database-engine/performance/understand-resolve-blocking).
84+
1. Check the `system_health` Extended Events session for any worker, thread, or resource issues by running the following query in SSMS:
8585
86-
Inspect the query results for `QUERY_PROCESSING`, `RESOURCE`, and `SYSTEM` components. Look for thread exhaustion, memory pressure, or CPU issues. For guidance on analyzing the system health extended events, see [Use the system_health session](/sql/relational-databases/extended-events/use-the-system-health-session).
86+
```tsql
87+
SELECT CAST(xet.target_data as xml) AS target_data
88+
FROM sys.dm_xe_session_targets xet
89+
JOIN sys.dm_xe_sessions xe
90+
ON xe.address = xet.event_session_address
91+
WHERE xe.name = 'system_health'
92+
```
93+
94+
Inspect the query results for `QUERY_PROCESSING`, `RESOURCE`, and `SYSTEM` components. Look for thread exhaustion, memory pressure, or CPU issues. If you identify any issues resolve them by following the guidance provided in [Troubleshooting SQL Agent Issues](/to-do). <!--Fill in this link one the doc is published -->
8795
8896
<!-- Check with SME what the user should do if they identify any thread exhaustion, memory pressure, or CPU issues -->
8997

0 commit comments

Comments
 (0)