51Testing软件测试论坛

标题: IIS文件缓存问题 [打印本页]

作者: soswhp    时间: 2007-5-10 16:56
标题: IIS文件缓存问题
加入File Cache Hits%、File Cache Hits与File Cache flushes计数器,但File Cache Hits%、File Cache Hits计数器得还到数据,是怎么回事呢?
是不是与IIS文件缓存的什么设置有关呢?怎么设置的?



作者: soswhp    时间: 2007-5-11 13:13
顶!
作者: shanxi    时间: 2007-5-11 13:20
IIS 6.0 Monitor取样频率
服务缓存 File Cache Hits 累计2小时以上
File Cache Misses 累计2小时以上
File Cache Flushes 累计2小时以上
Avg. Current File Cache Memory Usage 每隔2分钟
Avg. Current Files Cached 每隔2分钟
Kernel: URI Cache Hits 累计2小时以上
Kernel: URI Cache Misses 累计2小时以上

http://www.microsoft.com/china/w ... licy/dcdetails.mspx
作者: soswhp    时间: 2007-5-14 08:49
标题: File Cache Flushes怎么能取到值呢?
File Cache Flushes 累计2小时以上
服务缓存 File Cache Hits 累计2小时以上

同样是这两个计数器,都是累计2小时以上,怎么"File Cache Flushes "能取到值而"File Cache Hits"取不到值?
作者: shanxi    时间: 2007-5-14 09:41
Internet Information Services Global  File Cache Flushes and File Cache Hits  通过比较这些计数器可以查看缓存命中与缓存清理的比率。从缓存删除文件时将发生刷新。这些全局计数器提供了从缓存中刷新对象的比率。刷新太慢会浪费内存。该值可通过调整 ObjectCacheTTL、MemCacheSize 和 MaxCacheFileSize 注册表设置来进行修改。有关详细信息,请参阅 Windows 2000 Resource Kit。  
Internet Information Services Global  File Cache Hits %  显示缓存命中数与总缓存请求数的比率。对于具有静态页面的站点,该值大约为 80%。  
Process  Private Bytes - _Total  显示所有实例已经分配但无法与其他进程共享的当前字节数。请确保选择了列表中的 _Total 实例。选择任何其他实例可能会耗尽内存。  
Process  Private Bytes (inetinfo instance)  Private Bytes (inetinfo) 是 HTTP/ASP 服务已分配但无法与其他进程共享的当前字节数。如果该数值始终很大且不断增加,则可能是服务器端对象发生泄漏。请与 Process: Private Bytes (_Total) 进行比较。
http://msdn.microsoft.com/librar ... /actml_ref_pcls.asp
作者: soswhp    时间: 2007-5-15 08:47
shanxi真是个热心的人,谢谢了




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2