且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

应如何设置ASP.NET应用程序池自动回收?

更新时间:2022-05-21 22:29:32

不幸的是它的的正常,虽然大多会费伪劣应用程序编写者比什么都重要。

Unfortunately it is normal, though mostly dues to shoddy application writers than anything else.

IIS默认配置了新创建的应用程序池每1740分钟回收这个原因。

IIS by default configures newly created application pools to recycle every 1740 minutes for this reason.

正如你所说,这是一个创可贴。这清除了所有的资源(包括晃来晃去的事件处理程序)的井书面申请,应不漏气的。

As you said, this is a band-aid. A well written application that clears up all of its resources (including dangling event handlers), shouldn't leak at all.

请参阅博客文章的主题。

See this blog post about the subject.