天蓝色网站的应用程序池超时

编程入门 行业动态 更新时间:2024-10-26 10:29:07
本文介绍了天蓝色网站的应用程序池超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有没有办法设置在 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)

更多推荐

天蓝色网站的应用程序池超时

本文发布于:2023-11-15 22:56:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1598697.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:天蓝色   应用程序   网站

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!