App pool timeout for azure web sites

前端 未结 3 567
再見小時候
再見小時候 2020-12-05 10:45

is there a way to set the timeout of an app pool of a web-site running under azure sites.

I have a site running there and it seems like it needs to spin up again wh

3条回答
  •  [愿得一人]
    2020-12-05 11:08

    Windows Azure Web Sites supports two modes, shared and Reserved.

    In Shared mode, your web site process (w3wp) runs alongside other, sharing resources including CPU and memory. The runtime (that is Windows Azure Web Sites system) remove sites from memory after period of idleness – that is when your site doesn’t get any traffic. The runtime make the decisions removing sites, bases on many parameters, and even if you change the configuration, it may not apply, as the runtime may override that configuration.

    If you are looking for your site to always be in memory, you may want to look into switching to Reserved Instance, in which your site(s) are running on their own VM(s) and the system is much more flexible in terms of resource utilization.

    Yochay (PM Azure Web Sites)

提交回复
热议问题