IIS 工作进程:已使用的缓存%进程内存超过 100%,这怎么可能?
PerfMon counter : Cache % Process Memory Used is more than 100 % . How is this possible??
Note : only one worker process was running, hosting one website.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
[已使用的缓存进程内存百分比]
= [工作进程消耗的内存] * 100 / [缓存施加的内存限制]
“工作进程消耗的内存”没有理由不能超过“缓存施加的内存限制”。 当“工作进程消耗的内存”> “对缓存施加的内存限制”,该计数器的值将大于 100。
参考:在 Msdn 博客
[Cache % Process Memory Used]
= [Memory consumed by worker process] * 100 / [Memory Limit imposed on Cache]
There is no reason why "Memory consumed by worker process" can't exceed "Memory Limit imposed on Cache". When "Memory consumed by worker process" > "Memory Limit imposed on Cache", value of this counter will be greater than 100.
Reference : Search for "Cache Memory Percentages" Section in Msdn blog
可能只是一个舍入错误。
Probably just a rounding error.
它可能是舍入错误,或脏数据收集,或者进程可能位于虚拟内存中。 盒子在晃动吗?
It may be a rounding error, or dirty data gathering, or the process may be in virtual memory. Is the box thrashing?
Mashin.config 中有一个设置,指示缓存的总使用量,默认情况下为总内存的 60%,如果它以某种方式发生更改,您可能会达到该级别。 另请检查您的 web.config 文件中的缓存设置
There is a setting in Mashin.config that indicates the total usage of cache it is by default in 60% of the total memory if its changed somehow you might reach that level. please also check your web.config file for the setting of cache
IIS 工作进程有上限和下限。 在回收应用程序池之前,它可能会短暂地超越其中一个限制,以使内存消耗回到更合理的水平。
There are upper and lower limits imposed on IIS worker processes. It could have surpassed on one of these limits briefly before recycling the Application pool to get memory consumption back down to a more reasonable level.