[thelist] detecting a loop in asp

Ken Schaefer Ken at adOpenStatic.com
Tue Mar 29 06:58:42 CST 2005


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: thelist-bounces at lists.evolt.org [mailto:thelist-
: bounces at lists.evolt.org] On Behalf Of Jeroen Wijers
: Subject: [thelist] detecting a loop in asp
: 
: Does some one know of a way to check on loops that 
: go infinite in asp? Problem is on the server the site 
: starts to eat all available memory and then gets locked
: for that same reason.... somewhere i musst have 
: made a mistake but even after a file compare with
: an much older but working example i cannot see it, 
: the server itself does not give any clue to this :(
: 
: Is there some routine to do this? or program?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Three methods off the top of my head:

1) Look in your IIS logs. Script timeouts should result in a 500 HTTP status
code

2) Use a custom 500-100 error handler

3) The 10,000 lb bomb for diagnosing issues with IIS is IISState:
http://www.iisfaq.com/Default.aspx?tabid=2513

Cheers
Ken

--
www.adOpenStatic.com/cs/blogs/ken/ 


More information about the thelist mailing list