Troubleshooting ReaderWriterLockSlim issues

One wouldn’t think there would be anything to troubleshoot but we somehow keep having problems so I thought I’d share how we debug these issues: Imagine a situation where you notice your application not making progress – you take a dump and see something like this: 0:1199> !ClrStack OS Thread Id: 0x294c (1199) Call Site [HelperMethodFrame_1OBJ:…

0

How to diagnose SqlConnection Leaks

This is a fairly common problem – you test your app, everything works great. Throw it into production and then it stops working and you see a lot of these: System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool. You then check the number of connections in Perfmon and…

2