积极答复者
Application_Start 频繁执行

问题
-
服务器内存,cpu使用率都很低,不超过35%,我在Application_Start事件中加入了日志记录,发现,Application_Start执行很频繁,有时候隔一分钟就执行异常,这是什么原因?
- 已移动 ThankfulHeart 2014年10月25日 7:03
答案
-
楼主好:
请核实你的IIS是否每隔一定时间进行垃圾回收(IIS Recycle)?这个会导致你的程序反复执行这个模块的代码的。
ASP.NET Forum
Other Discussion Forums
FreeRice Donate
Issues to report
Free Tech Books Search and Download- 已标记为答案 吴道德 2014年12月4日 9:19
全部回复
-
你好,
这个问题里面的Application_Start是代表的什么?你监测的是单一的你的一个项目么?如果是,那么你的项目类型呢?
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. -
-
楼主好:
请核实你的IIS是否每隔一定时间进行垃圾回收(IIS Recycle)?这个会导致你的程序反复执行这个模块的代码的。
ASP.NET Forum
Other Discussion Forums
FreeRice Donate
Issues to report
Free Tech Books Search and Download- 已标记为答案 吴道德 2014年12月4日 9:19