System.Web.Handlers.TransferRequestHandler로 인해 발생하는 asp.net 응용 프로그램의 높은 CPU 사용량 및 충돌을 해결하는 방법은 무엇입니까?

StackOverflow https://stackoverflow.com//questions/23046517

문제

서버 4 vCPU, 10GB RAM, SSD HDD에 ASP.NET 애플리케이션을 배포했습니다.NewRelic을 찾아보니 근본 원인은 다음과 같습니다.

System.Web.Handlers.TransferRequestHandler

또한 DebugDiag를 사용하여 분석을 수행한 결과는 다음과 같습니다.성능 분석은 다음을 보여줍니다.

평균 CPU별 상위 스레드는 다음과 같습니다.

스레드 3428 - Microsoft.Win32.Win32Native.ReadFile(Microsoft.Win32.SafeHandles.SafeFileHandle, Byte*, Int32, Int32 ByRef, IntPtr)

이 스레드의 모든 기능(보일러 플레이트 기능 제외)

System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, System.Web.RequestNotificationStatus ByRef)

Microsoft.Win32.Win32Native.ReadFile(Microsoft.Win32.SafeHandles.SafeFileHandle, Byte*, Int32, Int32 ByRef, IntPtr)

모든 작업모든 작동 (보일러 플레이트 기능 제외) 시스템 .threading.monitor.objwait (부울, int32, System.Object) 시스템 시스템 .threading.waithandle.waitonEnative (System.Runtime.InterOpservices.SafeAndle, UINT32, 부울, 부울) System.threading.thread.sletinternal (int32) system.threading.waithandle.waitmultiple (System.threading.waithAndle [], int32, boolean, boolean) system.web.hosting.unsafeiismethods.mgdindicatecompletion (intptr, system.wequestnottustustut). ) microsoft.win32.win32native.readfile (Microsoft.win32.safehandles.safefilehandle, byte*, int32, int32 byref, intptr)

도움을 주시고 해결 방법을 추천해주세요.감사해요

도움이 되었습니까?

해결책

대부분의 페이지에서 EnableSessionState="False"로 표시하거나 사용자 정의 SessionState 모듈을 사용하세요.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top