I have an asp.net page which runs some algorithms and gives output to it. I was wondering what would happen and how to handle a case where due to a bug the algorithm goes into infinite loop. It will hog the CPU and other sessions will be very slow.
Let me tell the AIO one way, if Elgo.Aspx takes more than 5 seconds to process, then kill it or make something like that.
Thanks in advance
There is nothing like this in the IIS. You can do this instead to work in a background thread and take the time it takes to complete this background task, and if thread time is higher than expected, then just kill the thread.
Look at the method that allows you to specify periodically to wait for a particular event, for example, to be signal from the background thread.
Comments
Post a Comment