In this episode, Software Engineer, Mike Rousos, joins Rich to go through some ways to diagnose thread pool exhaustion in your .NET apps. Mike discusses and demos a collection of .NET CLI tools and techniques that can be used on Windows or Linux environments.
[00:00] - Intro
[01:23] - How does thread pool exhaustion occur?
[03:18] - Inspecting diagnostics using dotnet-counters
[09:07] - Collecting and analyzing dumps with dotnet-dump
[19:42] - Switching to the async API
Thread pool exhaustion
https://github.com/mjrousos/DotNetDiagnosticsSamples/tree/main/1-ThreadPoolExhaustion
Investigate performance counters
https://docs.microsoft.com/dotnet/core/diagnostics/dotnet-counters?WT.mc_id=dotnet-00000-cephilli
Dump collection and analysis utility
https://docs.microsoft.com/dotnet/core/diagnostics/dotnet-dump?WT.mc_id=dotnet-00000-cephilli
Symbol downloader
https://docs.microsoft.com/dotnet/core/diagnostics/dotnet-symbol?WT.mc_id=dotnet-00000-cephilli
Get your questions answered on the Microsoft Q&A for .NET - http://aka.ms/dotnet-qa
Learn .NET with free self-guided learning from Microsoft Learn: http://aka.ms/learndotnet
#DotNet #Diagnostics