最大输出缓存大小 ASP.NET IIS 6
IIS 6 中 ASP.NET 的最大输出缓存大小是多少?可以配置吗?
What is the maximum output cache size for ASP.NET in IIS 6? Is it configurable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现了一些细节,web.config 中的 Cache 元素将设置这个值,但真正的答案相当复杂。默认值约为可用 RAM 的 60%;然而,您必须考虑的是,W3WP 只能在 32 位操作系统(例如 Server 2003)中寻址大约 2 GB 的 RAM。这意味着在所有应用程序池(读作所有进程)中,W3WP 的总 RAM 使用量不能超过该阈值,无论您是否运行具有超过 4 GB RAM 的 Server 2003 Enterprise。
简而言之,除非您运行 64 位操作系统,否则您将遇到 W3WP 使用 800-1200 MB RAM 左右的内存压力相关问题
I found some details that the Cache element in the web.config will set this value, but the real answer is pretty complicated. The default is something like 60% of available RAM; however what you have to take into account is that W3WP is only capable of addressing roughly 2 GB of RAM in a 32 bit OS (such as Server 2003). This means that across all application pools (read as all processes) the total RAM usage of W3WP cannot exceed that threshold, regardless of whether you're running Server 2003 Enterprise with over 4 GB of RAM.
Short story is that unless you're running a 64 bit OS, you'll run into memory pressure related issues around 800-1200 MB of RAM usage by W3WP