adam
adam

Reputation: 41

asp.net application running in production is crashing

I have an asp.net application written using a combination of technologies such as Asp.net MVC,WebAPI,SignalR etc and it is crashing almost everyday randmoly. I get this message logged by IIS in the event logs

Faulting application w3wp.exe, version 6.0.3790.3959, stamp 45d691cc, faulting module kernel32.dll, version 5.2.3790.4062

I understand that we can use some kind of CLR profiler to get the crash analyzed but even that requires approval and we had a situation where the profiler was causing real slowness to our application as the application is very chatty(Hence signalR) .So I am looking for a solution with minimal impact on runtime but would like to figure out the root cause of the crash.

Upvotes: 2

Views: 605

Answers (2)

adam
adam

Reputation: 41

WER helped me troubleshoot this issue.Enabled crash dump using WER

Windows Registry Editor Version 5.00
�
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\w3wp.exe]
"DumpFolder"=hex(2):63,00,3a,00,5c,00,64,00,75,00,6d,00,70,00,73,00,00,00
"DumpCount"=dword:00000002
"DumpType"=dword:00000002

And this created an hdmp file and I was to get this analyzed using debugdiag and windbg to find out the issue. There was a stackoverflow exception happening and caused the application to crash.

Upvotes: 2

Hiran
Hiran

Reputation: 1180

Are you using dedicated application pool for your app ? if not, you can try to add new application pool and configure it for your application.

Upvotes: 0

Related Questions