Diagnóstico de IIS paradas
-
03-10-2019 - |
Pregunta
Los síntomas:
- adjunto un depurador, espero un poco de tiempo, automáticamente se separa
- Miro el registro de eventos durante el funcionamiento normal - después de una sola petición llega, espera un poco, de que se cierre abajo
Disagnosing. He seguido los siguientes pasos para cierres de registro de IIS:
- http://weblogs.asp.net/scottgu/ archivo / 2005/12/14 / 433194.aspx
- http://blogs.msdn.com/tess/archive/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles.aspx
Yo sé que estos están trabajando porque ...
Lo que veo en los registros de sucesos cuando cambio el web.config:
The description for Event ID 0 from source ASP.NET 2.0.50727.0 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: _shutdownMessage=IIS configuration change HostingEnvironment initiated shutdown CONFIG change CONFIG change HostingEnvironment caused shutdown _shutdownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() at System.Web.Hosting.HostingEnvironment.InitiateShutdown() at System.Web.Hosting.PipelineRuntime.StopProcessing() the message resource is present but the message is not found in the string/message table
Pero no ayuda porque el error mysetery no me dice nada. Veo lo mismo que desde antes de agregar este registro adicional:
The description for Event ID 0 from source ASP.NET 2.0.50727.0 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: _shutdownMessage=HostingEnvironment initiated shutdown HostingEnvironment caused shutdown _shutdownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() at System.Web.Hosting.HostingEnvironment.InitiateShutdown() at System.Web.Hosting.PipelineRuntime.StopProcessing() the message resource is present but the message is not found in the string/message table
Alguien tiene alguna idea para obtener más depuración?
Solución
Bueno, resulta que de alguna manera se IIS configurado para reciclar el grupo de cada minuto - ciertamente no es la configuración habitual. (Creo que era una broma.) Me voy de esto para que cualquier persona que googles ese mensaje de error podría encontrar algo que les ayuda.
Otros consejos
Aquí hay una referencia buena:
http://blogs.iis.net/mailant/archive/2008/03/07/iis7-diagnostics-for-developers-talk-at-mix08.aspx
También puede utilizar DebugDiag:
DebugDiag es la herramienta MS Soporte tendría que utiliza para generar un informe para que se inspeccionan.