天蓝色网站的应用程序池超时 [英] App pool timeout for azure web sites

查看:31
本文介绍了天蓝色网站的应用程序池超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法设置在 azure 网站下运行的网站的应用程序池的超时时间.

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 when it has been idle for a while.

推荐答案

Windows Azure 网站支持两种模式,共享和保留.

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

在共享模式下,您的网站进程 (w3wp) 与其他进程一起运行,共享资源,包括 CPU 和内存.运行时(即 Windows Azure 网站系统)在闲置一段时间后从内存中删除站点 - 即当您的站点没有任何流量时.运行时根据许多参数做出删除站点的决定,即使您更改配置,它也可能不适用,因为运行时可能会覆盖该配置.

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 网站)

Yochay (PM Azure Web Sites)

这篇关于天蓝色网站的应用程序池超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆