SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
1.
2
Common ASP.NET production
issues and how to troubleshoot
them with WinDbg
Tess Ferrandez - Norlander
Support Escalation Engineer
Microsoft
Session Code: WUX405
8.
9
We will be using
BuggyBits from http://blogs.msdn.com/Tess
Debugging Tools for Windows
SOS.dll
Task Manager
Visual Studio Team System Test
TinyGet
Performance Monitor
Our brains
9.
10
Performance issues
Low CPU => waiting for external resources
and/or locks
High CPU => busy server, infinite loops or high
CPU in GC
14.
15
Crashes and Exceptions
Check out the eventviewer
Disable recycling options
Get memory dump(s)
Look at faulting stacks or logs if neccesary
Use TrackClr.cfg to track exceptions during
testing
15.
16
High memory usage and OOM
Caching and Session State
“Unexpected roots”
Blocked finalizer
DataSet serialization
Large viewstate
Assembly leaks with XmlSerializer
Pinned objects
17.
18
High memory usage and OOM
What are you leaking? (native, .net, assemblies)
Take multiple dumps when memory is raising
and compare
Check the finalizer
Check the Large object heap
Try to group “leaking” objects
Figure out why they are sticking around
(rooted)
18.
19
Remember...
There are tools out there to track down these
types of issues
http://blogs.msdn.com/Tess
Track exceptions during testing with
TrackCLR.cfg
Debugging Tools for Windows
19.
www.microsoft.com/teched
Tech·Talks Tech·Ed Bloggers
Live Simulcasts Virtual Labs
http://microsoft.com/msdn
Developer’s Kit, Licenses, and MORE!
Resources for Developers
20.
Related Content
http://blogs.msdn.com/johan
http://blogs.msdn.com/carloc
http://blogs.msdn.com/dougste
http://blogs.msdn,.com/tom
21.
TLA05-IS Debugging Performance Issues, Memory Issues and Crashes in .net
Applications
Track Resources
22.
Complete an
evaluation on
CommNet and
enter to win!
1 Year
Subscription!