How to simulate IIS App-Pool shutdown due to timeout

567 Views Asked by At

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.

1

There are 1 best solutions below

3
On

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