Reputation: 4123
We have an Asp.Net 2.0 web app that is running on IIS (I've tried 5.1 on XP and 6.0 on 2003 with same results) and it works briefly and then becomes non-responsive. The odd thing is that requests from the local server (using "localhost" or the ip) continue to work fine. But all page requests from other machines just time out. I don't see any indication that those requests are ever getting to Asp.Net at all.
I'm sure that the app is using more background threads than it really should need via the ThreadPool
, roughly on the order of about 40. Howevever, I'd like to understand the problem a little better before I go about fixing it. I've tried increasing the limit using the SetMaxThreads
method with no success. GetMaxThreads
indicates that there are plenty of available threads as well.
Any ideas what I should be looking for? Is this an IIS or Asp.Net issue? Thanks!
Upvotes: 0
Views: 166
Reputation: 3416
I've had this happen before in one of my applications. I used PerfMon to localize what was going on with the box (using the ASP.NET and ASP.NET Apps performance objects). In my particular case, it told me that the requests were going to the .NET DLL and it was a code issue. It was a fairly easy fix after that was identified, but YMMV.
I think you need more information, and would use PerfMon to get it.
Upvotes: 1