I was just browsing the system health extended event to come across an event with diagnostic result for query processing showing status for worker threads:
- Why max worker threads showing 2994 when I have 80 logical processors which as per msdn calculation here
512 + ((logical CPU's - 4) * 16)does not looks correct. However per the latest link here makes sense for logical processors greater than 64 where calculation for 16 changes to 32. But that link says starting SQL 2017, however the number 2994 I am getting is for SQL2012, 14 16 where no of logical processors is 80. Am I missing something here?
max worker setting within sp_configure is set to '0'
- Coming back to that system health event status shows WARNING for below no:
maxWorkers="2944" workersCreated="456" workersIdle="314" tasksCompletedWithinInterval="1021881" pendingTasks="1"
Should I be checking something else or can this be ignored?