Usman
Usman

Reputation: 156

How to restart a single application under a site pool in IIS

I have multiple applications under the "Default Web Site" pool. I can restart the entire pool from IIS Manage Website options but I have many applications under that which I don't want restarted.

How can I restart just the one because we cannot see the options to do so under each application.

Example of IIS Default Website Applications

Upvotes: 2

Views: 7493

Answers (2)

Nick
Nick

Reputation: 59

By default, I believe the app pool is set to restart every 1740 minute (29 hours). When I create a new application in IIS I always create a separate App Pool with the same name as the application. I then go into the App Pool > Recycling... settings and set the App Pool to recycle at 1 AM every day (choose the slowest part of the day, and if you are 24/7, let your people know to expect an outage for up to 10 minutes - typically shorter), you may need to offset your app pool restarts.

Upvotes: 0

Deepak-MSFT
Deepak-MSFT

Reputation: 11335

IIS does not provide an option to restart the single app in the app pool. So from the IIS user interface it will not be possible to restart the single app.

You could try to test the workaround suggested by Lex Li may work for you.

Upvotes: 2

Related Questions