简体   繁体   English

Windows Azure超小实例硬盘大小

[英]Windows Azure Extra Small Instance Harddisk Size

We have a Windows Azure Web Role on two extra-small instances that has been running for weeks without problems. 我们在两个非常小的实例上有一个Windows Azure Web角色,这些实例已运行数周没有问题。 This morning, we unintentionally passed some spending limit, which resulted in Windows Azure shutting down our complete service, without any prior warning! 今天早上,我们无意中通过了一些支出限制,导致Windows Azure关闭了我们的完整服务,没有任何预先警告!

We removed the spending cap and began to re-deploy the Web Role, with the same codebase that has been running for weeks. 我们删除了支出上限,并开始重新部署Web角色,使用已经运行数周的相同代码库。 To our astonishment, we got the deployment error 令我们惊讶的是,我们遇到了部署错误

Validation Errors: Total requested resources are too large for the specified VM size.

We upgraded the deployment to two small instances instead of the extra-small instances, whereupon deployment was working again. 我们将部署升级到两个小实例而不是超小实例,然后部署再次运行。 Now, the web role is back in the web. 现在,Web角色又回到了Web中。

However, we still don't understand why our deployment was suddenly too big for an extra-small instance . 但是,我们仍然不明白为什么我们的部署突然对于一个超小型实例来说太大了 We didn't change one bit since the last successful deployment to extra-small instances. 自从上次成功部署到超小型实例以来,我们没有改变一点。 We then tried to remove the deployment size by moving some files to Azure Storage, but even after reducing the package file by more than 1 MB, deployment still failed. 然后,我们尝试通过将某些文件移动到Azure存储来删除部署大小,但即使将包文件减少了1 MB以上,部署仍然失败。

The cspkg file, the deployment package, is currently at 9'359 KB . cspkg文件(部署包)目前为9'359 KB If unzipped, the complete sitesroot folder's size is 14 MB . 如果解压缩,则完整的sitesroot文件夹的大小为14 MB Which is way below the 19'480 KB limit for the x-small instance. 这低于x-small实例的19'480 KB限制。

Before we lose more time with trial-and-error, here's my question: How exactly are those 19'480 KB calculated? 在我们通过反复试验失去更多时间之前,我的问题是: 这些19'480 KB究竟是如何计算的? Is it just the sitesroot folder, or the zipped package, or is it the sitesroot and approot folder together, or the whole unzipped package? 它只是sitesroot文件夹,还是压缩包,还是sitesrootapproot文件夹,还是整个解压缩的包?

Thank you! 谢谢!

EDIT: 编辑:

在此输入图像描述

Could you verify if your local resources exceed 20 GB: 您能否验证您的本地资源是否超过20 GB:

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM