Come risolvere l'utilizzo e il crash del CPU elevato per l'applicazione ASP.NET causati da System.Web.Handlers.TransferrequestHandler?

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

Domanda

Ho un'applicazione ASP.NET distribuita su un server 4 VCPU, 10 GB RAM, SSD HDD. Alzando lo sguardo su Newrelic, ho trovato la causa principale:

system.web.handlers.transferrequesthandler

I Inoltre, ha fatto un'analisi usando Debugdiag e i risultati erano: L'analisi delle prestazioni mostra che:

I thread top di AVG CPU erano:

Discussione 3428 - Microsoft.win32.win32native.readfile (Microsoft.Win32.Safehandles.safefileHandle, Byte *, INT32, INT32 Byref, INTPTR)

Tutte le funzioni in questi thread (esclude le funzioni della caldaia)

system.web.hosting.unsafeismetEthods.mgdindiMateCompilazione (INTPTR, SYSTEM.Web.REQUESTNOTIFICATIFICATIFICATOSTUS Byref)

microsoft.win32.win32ative.readfile (Microsoft.Win32.Safehandles.safefileHandle, Byte *, INT32, INT32 Byref, INTPTR)

Tutte le operazioni Tutte le funzioni in tutte le operazioni (esclude le funzioni della caldaia) System.Threading.Monitor.objwait (boolean, INT32, System.Object) System.threading.waithandle.waitoneenative (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.unsafeismethods.mgdindicateCompilazione (INTPTR, SYSTEM.Web.REQUESTNOTIFICALIFICATIFICATOS Byref) Microsoft.win32.win32native.readfile (Microsoft.Win32.Safehandles.safefileHandle, Byte *, INT32, INT32 BYREF, INTPTR)

Aiuta e raccomandare i passaggi per la risoluzione. Grazie

È stato utile?

Soluzione

Mark abilitaSessionstate="false" sulla maggior parte delle pagine o utilizza un modulo SessionState personalizzato.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top