Why Does My ASP.NET Cache Keep Clearing Itself?

耗尽温柔 提交于 2020-01-25 00:32:07

问题


I have a .Net 3.5 application installed on a server running Windows Server 2003 SP2, IIS 6. Every few minutes the cache it clearing itself. This doesn't happen when the traffic is low.

This is the performance graph taken with Process Explorer, every drop in the graph is when the cache is cleared.

The system has 8GB of RAM.

In the same app pool there are several applications but the cache is not being reset at the same time.

The app pool doesn't have Memory Recycling turned on.

What should I check to find the problem?


回答1:


It seems to be ok after I've enabled Maximum Used Memory (2000 MB)




回答2:


It seems like the cache is cleared in intervals.

In the App pool check if you have "Recycle worker process (in minutes)" enabled

Edit: since you posted a screen of the app pool, my suggestion is irelevant.



来源:https://stackoverflow.com/questions/4602334/why-does-my-asp-net-cache-keep-clearing-itself

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!