We are getting a non-yielding scheduler error on our new SQL Server 2019 boxes. This started when someone ran a query yesterday and in the error log it kicks off a BEGIN STACK DUMP Looking at this:
https://support.microsoft.com/en-us/help/4338890/sql-server-appears-unresponsive-and-non-yielding-scheduler-error-occur
It seems this is due to bugs (subsequently patched) in SQL Server. Others suggest it could also be an IO problem (IO is very low however, next to nothing). Can anyone advise?
Error extracted from log is below:
01/13/2020 10:45:50,Server,Unknown,Process 0:0:0 (0xa08) Worker 0x000001E6034CC160 appears to be non-yielding on Scheduler 8. Thread creation time: 13223301429074. Approx Thread CPU Used: kernel 0 ms<c/> user 192390 ms. Process Utilization 6%. System
Idle 93%. Interval: 197693 ms.
01/13/2020 10:44:50,Server,Unknown,Process 0:0:0 (0xa08) Worker 0x000001E6034CC160 appears to be non-yielding on Scheduler 8. Thread creation time: 13223301429074. Approx Thread CPU Used: kernel 0 ms<c/> user 132140 ms. Process Utilization 6%. System
Idle 93%. Interval: 137441 ms.
01/13/2020 10:43:50,Server,Unknown,Process 0:0:0 (0xa08) Worker 0x000001E6034CC160 appears to be non-yielding on Scheduler 8. Thread creation time: 13223301429074. Approx Thread CPU Used: kernel 0 ms<c/> user 70656 ms. Process Utilization 6%. System Idle
93%. Interval: 70658 ms.
01/13/2020 10:43:50,Server,Unknown,External dump process return code 0x20000001.<nl/>External dump process returned no errors.
01/13/2020 10:43:43,Server,Unknown,Stack Signature for the dump is 0x00000000000001B8
01/13/2020 10:43:43,Server,Unknown,* *******************************************************************************
01/13/2020 10:43:43,Server,Unknown,*
01/13/2020 10:43:43,Server,Unknown,* Non-yielding Scheduler
01/13/2020 10:43:43,Server,Unknown,*
01/13/2020 10:43:43,Server,Unknown,* 01/13/20 10:43:43 spid 6748
01/13/2020 10:43:43,Server,Unknown,* BEGIN STACK DUMP:
01/13/2020 10:43:43,Server,Unknown,*
01/13/2020 10:43:43,Server,Unknown,* *******************************************************************************
01/13/2020 10:43:43,Server,Unknown,***Unable to get thread context for spid 0
01/13/2020 10:43:43,Server,Unknown,Using 'dbghelp.dll' version '4.0.5'
01/13/2020 10:43:43,Server,Unknown,CImageHelper::Init () Version-specific dbghelp.dll is not used