使用的内存很多IIS工作进程? [英] IIS Worker Process using a LOT of memory?

查看:249
本文介绍了使用的内存很多IIS工作进程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的服务器上的一个网站,我的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 have Dispose() called on it when it's finished with, preferably using the using 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆