Should I set ASP.NET application pool to auto-recycle?

痴心易碎 提交于 2019-12-05 00:04:58

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

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.

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