ASP.NET application on IIS7 - very slow startup after iisreset

后端 未结 7 1893
长发绾君心
长发绾君心 2021-02-05 16:41

I have an ASP.NET 3.5 website running under IIS7 on Windows 2008.

When I restart IIS (iisreset), then hit a page, the initial startup is really slow.

I see the f

7条回答
  •  故里飘歌
    2021-02-05 17:20

    I've just been battling a similar issue. For me it turned out to be that I had enabled internal logging for NLog. It added about 3 minutes to the startup time!

    Original config

    
    

    Fixed Config

    
    

    For Info I discovered this by using SysInternals' ProcMon.exe, filtering on the Process Name "w3wp.exe"

提交回复
热议问题