is there a way to limit long-running processes in iis 7? for example, if I have ASP.NET application and it takes longer than 10 minutes to generate response, I want it recycled.
Take a look at the Advanced Settings for your Application Pool. Either the "Ping Enabled" or "Shutdown Time Limit" options in the Process Model section could be what you are looking for. Here is the configuration reference for Process Model from iis.net:
Take a look at the Advanced Settings for your Application Pool. Either the "Ping Enabled" or "Shutdown Time Limit" options in the Process Model section could be what you are looking for. Here is the configuration reference for Process Model from iis.net:
http://www.iis.net/ConfigReference/system.applicationHost/applicationPools/add/processModel