3

It is my understanding that asking an AppPool in IIS to recycle will give currently active requests 90 seconds to complete before they are abnormally terminated by the recycle request, while no longer accepting new requests. What about asking an AppPool to stop? Does it too have the same spin-down policy?

If it matters, I'm stopping the AppPool via:

appcmd.exe stop apppool /apppool.name:"theAppPoolName"
  • Version: 10.0.14393.0
  • Server: Windows Server 2016 / IIS 10
ckittel
  • 133
  • 7

1 Answers1

5

Yes, stopping an AppPool (rather than killing its process) does also gracefully shut down the ApplicationPool, giving existing requests time to finish.

So the behavior is the same as for recycling the pool.

Peter Hahndorf
  • 13,763
  • 3
  • 37
  • 58