我在服务器 4 vCPU、10GB RAM、SSD HDD 上部署了一个 ASP.NET 应用程序。查找NewRelic,我发现根本原因是:
System.Web.Handlers.TransferRequestHandler
我还使用 DebugDiag 进行了分析,结果是: 性能分析表明:
平均 CPU 排名靠前的线程是:
线程 3428 - Microsoft.Win32.Win32Native.ReadFile(Microsoft.Win32.SafeHandles.SafeFileHandle,字节*,Int32,Int32 ByRef,IntPtr)
这些线程中的所有函数(不包括样板函数)
System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr,System.Web.RequestNotificationStatus ByRef)
Microsoft.Win32.Win32Native.ReadFile(Microsoft.Win32.SafeHandles.SafeFileHandle,字节*,Int32,Int32 ByRef,IntPtr)
所有操作所有操作 中的所有函数(不包括样板函数) System.Threading.Monitor.ObjWait(Boolean, Int32, System.Object) System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean) System.Threading.Thread.SleepInternal(Int32) System.Threading.WaitHandle.WaitMultiple(System.Threading.WaitHandle[], Int32, Boolean, Boolean) System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, System.Web. RequestNotificationStatus ByRef) Microsoft.Win32.Win32Native.ReadFile(Microsoft.Win32.SafeHandles.SafeFileHandle, Byte*, Int32, Int32 ByRef, IntPtr)
请帮助并推荐解决步骤。谢谢