Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

how can I configure this?

share|improve this question
add comment

1 Answer

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

share|improve this answer
    
the process responses to the ping, but if I try to manually recycle the pool, it gets terminated, since it can't shutdown gracefully because it's still working on generating a response. –  Sumrak Jul 6 '09 at 16:06
    
If it is still responding to pings, you probably need to look at the shutdown time limit rather than the ping option. If the app pool is still actively processing information though, I don't think anything will be able to shut it down cleanly. –  MattB Jul 6 '09 at 19:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.