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

问题描述

有没有办法来设置在蔚蓝的网站运行的Web站点的应用程序池的超时。

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.

如果您正在寻找您的网站始终是在内存中,你可能要考虑切换到预留实例,在您的网站(S)是在自己的VM(S)和系统运行更加灵活在资源利用方面。

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)

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

08-13 01:52