Restart App Service Plan (all Web Apps in a plan), something similar to iisreset, from within the portal
It would be great to have a restart button, similar to the restart button in a Web App, but on the App Service Plan level to restart all Web Apps in a plan. something similar to iisreset.
What issue are you trying to solve? What use case would this be used for?
It seems to me that placing a restart option on the plan level might do more harm than good, by resetting the memory on all the apps under the plan. Depending on your scenario, auto-heal would be a great solution to solve individual machine issues. See a video by my colleagues here for more details: https://channel9.msdn.com/Series/Windows-Azure-Web-Sites-Tutorials/Auto-Healing-an-Azure-App-Service
Placing this idea under review for now until I understand what’s at the base of the request here.
Gaurav Madaan commented
In my app service plan TCP connections have exhausted and I need to restart the app service plan. Just restarting one app does not help.
Dennis Jakobsen commented
@david lee, would be awesome, but it does nothing (that you want).
Ian Bennett commented
There are some services that appear to be App Service Plan based and if broken, cannot be resolved by restarting at the App Service level. For example, MSI (Identity) which was apparently a VM plugin (there appears to have been major changes to MSI so not sure if this is still the case). Also I am having problems with Always On across all of my App Services (i.e. it has stopped working) so I suspect this may be another case.
I've always thought that scaling the App Service Plan essentially "restarts" the server, eg from Basic to Standard, or Standard to Premium.
Our 2 app services in our plan are stuck in a "TCP ports exhausted". We as a company are now stuck waiting for Tech support, as we can't restart the "server". We've tried to republish our web projects, restarting the app services, stopping/starting the app services, and still can't rid our selves of the situation.
Having the restart app service plan would help us in this situation.
David Lee commented
I've noticed there is a restart button on the App Service Plan on the Azure app for Android. Haven't tried it yet but will be handy if it's functional
Pål Andreassen commented
I have this exact problem. My Function Apps are not starting anymore after you botched the update. I've tried rescaling, changed instance cound without any help.
My complete App Service plan is failing after one of your "App Service Runtime Incident", an outage...
Now, seven hours after, it's supposed to be solved and I'm supposed to do nothing, but my web apps aren't working yet!
LET ME RESTART THE SERVER, PLEASE!
The use case for me is I had 100% cpu from some runaway app service process, causing all of them to freeze, but I didn't have time to look at which one. I knew in this case restarting all would fix the issue long enough to then dig into which one. I didn't want all app services offline while trying to figure it out.
John Fager commented
The use case for me now is that the app service plan has NO MEMORY use and is unavailable. Resource health reports that "We're sorry, your App Service plan is unavailable" and it has been down for hours. Submitted a ticket, but suspect that a reboot is necessary.
You do need a restart at the App Service Plan (ASP) level. An ASP can go from a stable 40% CPU to 100% in less than 90 seconds. Once at 100%, one loses the ability to diagnose what's wrong with an individual App because in the portal, the process explorer for all the apps stops responding. What this means is that one is forced to restart ALL the Apps 1 by 1. Tedious.
I don't understand how autho heal will address the issue. I have the problem of the azure app services going crazy and running 100% CPU even though all apps are stopped. So having auto heal restart an app won't solve the problem that azure app service is 100% CPU will all apps are stopped. Need a way to force app service to stop and restart, not just the app.
Thanks for your prompt reply. I am aware of auto-heal and it is being used. It is a great feature when something goes wrong with one of the Web Apps.
On the other hand, for maintenance reasons (say after publishing a new version of the web apps), we need to recycle all application pools and clear IIS cache. I think it would a great addition to the portal for application maintenance.