The perf counter # of Exceps Thrown / Sec is fairly high during load testing (111).Given that this includes both handled/unhandled, .NET and unmanaged, framework and my own exceptions I'd like some way to determine exactly where they are being thrown in the code and with what frequency to determine if I can mitigate the issue or it's
out of my hands. I know it's a best practice to not throw exceptions for flow control purposes. I have a very large and diverse code base though so inspection of the source is not really an option and won't tell me which places exceptions are being thrown
most often. Any ideas?
Maybe a try / catch block at the top of one of the calls to see what errors are happening. it's good you are load-testing and trying to figure this out. I'd also check over @ forums.asp.net as this seems to be more code related than IIS.
8 Posts
# of Exceps Thrown / Sec high - now what?
Jul 03, 2008 10:09 AM|sideout|LINK
The perf counter # of Exceps Thrown / Sec is fairly high during load testing (111). Given that this includes both handled/unhandled, .NET and unmanaged, framework and my own exceptions I'd like some way to determine exactly where they are being thrown in the code and with what frequency to determine if I can mitigate the issue or it's out of my hands. I know it's a best practice to not throw exceptions for flow control purposes. I have a very large and diverse code base though so inspection of the source is not really an option and won't tell me which places exceptions are being thrown most often. Any ideas?
5620 Posts
Re: # of Exceps Thrown / Sec high - now what?
Jul 03, 2008 11:01 PM|steve schofield|LINK
Maybe a try / catch block at the top of one of the calls to see what errors are happening. it's good you are load-testing and trying to figure this out. I'd also check over @ forums.asp.net as this seems to be more code related than IIS.
Steve Schofield
Windows Server MVP - IIS
http://iislogs.com/steveschofield
http://www.IISLogs.com
Log archival solution
Install, Configure, Forget