I recently worked on a SQL Server 2019 CU27 on-premises server that was running at 100% CPU sustained several times during business hours and also during the night running batch processes. This was impacting users, who were complaining. The VM was running in vmware which supports hot cpu add functionality.
Hot add
The number of CPUs was doubled from 8 to 16 to deal with the customer workload. In order for SQL Server to use these CPUs in SQL Server 2019, the RECONFIGURE command must be run. When that was run all looked fine.
Almost immediately, users started searching the Contacts table using SQL Server Full-Text search and were now getting the following error:
1
2
3
4
Msg 596, Level 21, State 1, Line 0
Cannot continue the execution because the session is in the kill state.
Msg 0, Level 20, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
and then the session was terminated.
Examining the SQL Server ERRORLOG showed lots of stack dumps and access violations.
As with most things in IT, turning it off and on fixes most things. The server was rebooted and the CPUs were now marked as VISIBLE ONLINE instead of VISIBLE ONLINE HOT_ADDED.