how do you keep an ASP.Net app from crashing all the others in IIS 5.5?

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Hi All,

I was wondering if anyone had any tips or configurations in IIS 5.5 running
on Win2K Server (SP4) running FW1.1
to keep a failed ASP.Net application from taking down all of the others.
It, unfortunately, does not do this by default. For some reason, an app we
have that occassionally locks up (we have been trying to debug it for a week
with no luck) for no apparent reason. While we debug it over the next few
weeks, it would be nice if there was a way to completely isolate it from the
other ASP.Net apps running (Classic ASP apps run just fine and do not crash
when the ASP.Net applications crash) on the server.
Setting the parameters inside IIS: Application Protection to "High
(Isolated)" has no effect on this problem.

TIA,
Dave
 
Hello

The root of the problem, the application that is locking up should be the first place you start. Use some of the performance counters and try to find where your bottleneck is

Second, upgrade to Windows 2003 if you can, then you can modify the isolation mode of your apps

Last for the version of IIS you are using, in the machine.config file examine the <processmodel> element in the help files. There are a couple of attributes you could use to help. The logLevel by default is Errors but if you wanted to find out what process was causing your problem you could set it to All. The reason is that if the application is somehow locking up the error will never be logged. If you do this, change it back afterwards, less processing time

Examine this help file
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpgenref/html/gngrfprocessmodelsection.ht

There are several ways that you could accomidate for this situation. The one that I recommend is catching the error in the program. If there are places in the code that could potentially lock the process or error out, the program should account for these places and log events

I hope this helps

Jeffrey Grizzl
MCT, MCSD.Net, MCSD, A+
 
Back
Top