0

As far as I understand, IIS-hosted applications can stop or restart for a variety of reasons, including:

When this happens, does it do so gracefully or forcefully?

By gracefully, I mean without stopping the application in the middle of processing a request; it should finish what it's doing and then follow its normal shut down procedures for the application.

Sam
  • 147
  • 1
  • 7

1 Answers1

0

IIS will attempt to allow workers to finish, but will forcefully terminate them if they take too long to stop (usually a few seconds). To get around this, you can use iisreset /noforce to make IIS wait until everything is done.

Nathan C
  • 14,901
  • 4
  • 42
  • 62
  • Thanks; that option looks useful. However, I was wondering more about restarting/stopping individual *applications* rather than IIS as a whole. Also, what do you think about the second dot-point? – Sam Jun 15 '13 at 00:12