如何解决由System.Web.Handlers.TransferRequestHandler引起的ASP.NET应用程序的高CPU使用率和崩溃?
-
21-12-2019 - |
题
我在服务器4 VCPU,10GB RAM,SSD HDD上部署了ASP.NET应用程序。 查找Newrelic,我发现根本原因是:
system.web.handlers.transferrequestHandler
我也,使用debugdiag和调查结果进行了分析: 性能分析表明:
avg cpu的顶线是:
线程3428 - microsoft.win32.win32native.readfile(microsoft.win32.safehandles.safefilehandle,byte *,int32,int32 byref,intptr)
这些线程中的所有功能(不包括锅炉板功能)
system.web.hosting.unsafei ismethods.mgdindicateCompetion(Intptr,system.web.requestnotificationstatus byref)
microsoft.win32.win32native.readfile(microsoft.win32.safehandles.safefilehandle,byte *,int32,int32 byref,intptr)
所有操作 所有操作中的所有功能(不包括锅炉 - 板功能) system.threading.monitor.objwait(boolean,int32,system.object) system.threading.waithandle.waitonenative(system.runtime.interopseropservices.safehandle,uint32,boolean,boolean) system.threading.thread.sleepinternal(int32) system.threading.waithandle.waitupliple(system.threading.waithandle [],Int32,Boolean,Boolean) system.web.hosting.unsafeIsmethods.mgdindicateCompetion(Intptr,System.Web.RequestNotificationStatus Byref) Microsoft.win32.win32native.readfile(microsoft.win32.safehandles.safefilehandle,byte *,int32,int32 byref,intptr)
请帮助并推荐解决方案。 谢谢
解决方案
mark exosessesstate=大多数页面上的“假”或使用自定义会话站模块。