Como resolver o alto uso de CPU e falha para o aplicativo ASP.NET causado pelo System.Web.Handlers.transferrequestHandler?

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

Pergunta

Eu tenho um aplicativo ASP.NET implantado em um servidor 4 VCPU, 10 GB RAM, HDD SSD. Olhando para cima em newrelic, eu achei a causa raiz para ser:

system.web.handlers.transferrequestHandler

Eu também, uma análise utilizando debugdiag e as descobertas foram: A análise de desempenho mostra que:

Os tópicos superiores por AVG CPU foi:

thread 3428 - Microsoft.win32.win32native.readfile (Microsoft.Win32.Safehandles.safeFileHandle, Byte *, Int32, Int32 Byref, IntPtr)

Todas as funções nestes tópicos (exclui as funções da placa de caldeira)

system.web.hosting.unsafeiismethod.mgdindicateCompletion (intptr, system.web.requestnotificationstatus byref)

microsoft.win32.win32native.readfile (Microsoft.win32.safehandles.safefilehandle, byte *, int32, int32 byref, intptr)

todas as operações Todas as funções em todas as operações (excluem as funções da placa de caldeira) 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)

Por favor, ajude e recomende etapas para resolução. Obrigado

Foi útil?

Solução

marca permiteSessionSession="False" na maioria das páginas ou use um módulo de sessionstate personalizado.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top