简体   繁体   中英

How to simulate IIS App-Pool shutdown due to timeout

I am facing an error in production due to IIS application pool shutdown during App-pool time out.

I want to reproduce the scenario in my local machine, however even if set low application pool time-out (5 minutes or 1 minute), it doesn't shutdown.

If I shutdown the application pool in the IIS user interface, it doesn't serve new requests. I want to simulate the scenario how it is shutdown and awake automatically when a new request comes in.

Thanks in advance, Pandiarajan.

Instead of issuing a Stop command, use "Recycle". This will create a new instance of the AppPool and shutdown the old one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM