twt4757 said:
Right, just killing the process then restarting. It's not the whole server or IIS that's freezing, just one application.
Very difficult to detect a freeze or loop. I think it is in a loop (using a lot of cpu time and actually doing nothing). Or it's waiting for an event that doesn't happen. Maybe you can add debugging or let it log things in some file. Otherwise i don't know how to solve freeze and loop problems.

Does application processes some requests that end let's say in 1 sec (normally)? If so, let a job run continuously and do a dummy transaction every minute. If it doesn't end the transaction in 5 seconds, you assume it a freeze. Kill and restart web application then.