For a production Win2003 web server, I\'d like to be able to allways log minidumps whenever the w3wp.exe processes crash...I\'ve read the documentation for ADPLUS, and have xcop
I played with the configuration file that can be attached with the -c
flag...since i'm mostly interested in catching errors in my custom COM components, these settings create minidumps without fulldumps, and ignore CLR crashes, and don't full-dump on IISReset.
To have this run all the time, create a scheduled task. From an admin prompt:
schtasks /create /tn "Crash Dump Monitor w3wp" /tr "\"C:\Program Files\Debugging Tools for Windows (x86)\adplus.exe\" -c \"C:\Program Files\Debugging Tools for Windows (x86)\adplus_w3wp.xml\"" /sc ONSTART
Save this file as C:\Program Files\Debugging Tools for Windows (x86)\adplus_w3wp.xml :
Crash
C:\Dumps
w3wp.exe
VOID
VOID
GN
GN
Log;Time;Stack;MiniDump;EventLog
GN
Log;Time;Stack;MiniDump;EventLog
GN
Log;Time;Stack;MiniDump;EventLog
GN
Log;Time;Stack;MiniDump;EventLog
GN
Log;Time;Stack;MiniDump;EventLog
GN
Log;Time;Stack;MiniDump;EventLog
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
VOID
Log;Time;Stack;MiniDump;EventLog
GN
GN
Log;Time;
Q
Can anyone improve on this? Have I missed any important crashing exceptions?