You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/sql/database-engine/agent/intermittent-crashes.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ ms.custom: sap:SQL Agent (Jobs, Alerts, Operators)\SQL Agent Service is unable t
6
6
ms.reviewer: prmadhes, v-shaywood
7
7
---
8
8
9
-
# SQL Agent services crashes intermittently
9
+
# SQL Agent service crashes intermittently
10
10
11
11
This article provides troubleshooting guidance for an issue where the SQL Agent service repeatedly crashes on a regular interval.
12
12
13
13
## Symptoms
14
14
15
-
The SQL Agent service crashes intermittently on a SQL Server Always On Cluster. When the SQL Agent service crashes the following error message is added to the ???? log: <!-- Ask SME where the error message is reported. Popup, command output, log entry? -->
15
+
The SQL Agent service crashes intermittently on a SQL Server Always On Cluster. When the SQL Agent service crashes, the following error message is added to the ???? log: <!-- Ask SME where the error message is reported. Popup, command output, log entry? -->
16
16
17
17
> [510] SQLAgent failed, dump generated in \<SQL_Instance_Log_Directory\>
18
18
> [LOG] Exception 29539 caught at line 233 of file sql\mpu\SqlAgent\src\autostrt.cpp. SQLServerAgent initiating self-termination.
@@ -23,9 +23,9 @@ These crashes occur when the SQL Agent service fails to retrieve the following r
When the registry key retrieve fails, the SQL Agent service reports an exception in the log then terminates itself.
26
+
When the registry key retrieval fails, the SQL Agent service reports an exception in the log then terminates itself.
27
27
28
-
Registry key retrieval can fail due to the following:
28
+
Registry key retrieval can fail due to the following reasons:
29
29
30
30
- Antivirus or endpoint protection software interfering with registry access.
31
31
- Missing or misconfigured registry keys.
@@ -38,14 +38,14 @@ Use the following steps to resolve this issue:
38
38
### Step 1: Verify the registry key
39
39
40
40
1. Open the Registry Editor (`regedit.exe`).
41
-
1.Navigate to the following path: `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<InstanceID>\SQLServerAgent`.
41
+
1.Go to the following path: `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<InstanceID>\SQLServerAgent`.
42
42
1. Check if the `AutoRegistryRefresh` key exists.
43
-
1. If the `AutoRegistryRefresh` key is missing, create a new _DWORD (32-bit) Value_ named `AutoRegistryRefresh` and set its value to `1`
43
+
1. If the `AutoRegistryRefresh` key is missing, create a new _DWORD (32-bit) Value_ named `AutoRegistryRefresh` and set its value to `1`.
44
44
45
45
### Step 2: Exclude SQL Server from antivirus scanning
46
46
47
47
> [!IMPORTANT]
48
-
> The process of adding an exclusion to your antivirus or endpoint protection software will vary by publisher. Check with the publisher of your software for specific instructions.
48
+
> The process of adding an exclusion to your antivirus or endpoint protection software varies by publisher. Check with the publisher of your software for specific instructions.
49
49
50
50
1. Configure your antivirus or endpoint protection software to exclude the common SQL Server processes:
51
51
1.`sqlservr.exe`
@@ -54,7 +54,7 @@ Use the following steps to resolve this issue:
54
54
1.`msmdsrv.exe`
55
55
1.`fdlauncher.exe`
56
56
1.`fdhost.exe`
57
-
1. Also, exclude the directory where SQL Server is installed, for example `C:\Program Files\Microsoft SQL Server\`
57
+
1. Also, exclude the directory where SQL Server is installed, for example `C:\Program Files\Microsoft SQL Server\`.
58
58
59
59
For more info on configuring your antivirus or endpoint protection software to work with SQL Server, see [Configure antivirus software to work with SQL Server](/troubleshoot/sql/database-engine/security/antivirus-and-sql-server).
0 commit comments