使用的内存很多IIS工作进程? [英] IIS Worker Process using a LOT of memory?
问题描述
我有我的服务器上的一个网站,我的IIS工作进程一直被使用4GB内存。我应该怎么检查?
C:\\ WINDOWS \\ SYSTEM32 \\ INETSRV \\程序w3wp.exe
我会检查的CLR调谐部分中的文件古勒扎尔提及。
由于其他海报指出,任何对象实现 IDispose
应的Dispose()调用它时
它完成了,preferably使用使用
结构。
火了PERFMON.EXE并添加这些计数器:
- Process \\ Private字节
- .NET CLR内存#中的所有堆
字节
- 进程\\工作集
- .NET CLR内存\\大对象堆大小
而在专用字节增加
字节数在所有堆柜台数量保持不变表明非托管
内存消耗。
在增加
两个计数器表示托管内存
功耗
块引用>I have one website on my server, and my IIS Worker Process is using 4GB RAM consistently. What should I be checking?
c:\windows\system32\inetsrv\w3wp.exe
解决方案I would check the CLR Tuning Section in the document Gulzar mentioned.
As the other posters pointed out, any object that implements
IDispose
should haveDispose()
called on it when it's finished with, preferably using theusing
construct.Fire up perfmon.exe and add these counters:
- Process\Private Bytes
- .NET CLR Memory# Bytes in all Heaps
- Process\Working Set
- .NET CLR Memory\Large Object Heap size
An increase in Private Bytes while the number of Bytes in all Heaps counter remains the same indicates unmanaged memory consumption.
An increase in both counters indicates managed memory consumption
这篇关于使用的内存很多IIS工作进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!