3. • What is a Deadlocked Scheduler?
• What are my options?
• Common Reasons
• Proactive action
• Reactive action
4. Scheduler • A scheduler is a logical CPU that is used by SQL
Server workers
Worker thread • Only a single worker can own the scheduler
Reason • Out of worker threads to process incoming
requests
• When a deadlocked scheduler issue is detected
17888 and over 50 percent of the workers are waiting on
a common resource type
5. DAC Notifications Post-mortem
• Collect DMV • Windows Event • Analyze the
outputs Log alerts logs
• Alerts on new • Debug the
memory dump memory dump
files
6. All schedulers have encountered a 17883
condition
All workers are blocked on a critical
resource. Eg. Spinlocks
All workers are executing a long-running
query: Parallelism and Lock Blocking
Open Transactions