Defrag Tools: #10 - ProcDump - Triggers

Play Defrag Tools: #10 - ProcDump - Triggers
Sign in to queue

The Discussion

  • User profile image
    Sarah

    I have w3wp process that crashes from time to time with System.OutOfMemoryException. This is in production web server.
    Can I use procdump -e command?
    Thank you!

  • User profile image
    windev

    Yep, you sure can. You will need to use the PID as there will be more than one w3wp:

    Procdump -ma -e 1 -f outofmemory <pid> c:\dumps

  • User profile image
    Sarah

    Thank you Andrew.

  • User profile image
    Magic​Andre1981
  • User profile image
    Lockman9

    Of course while watching this episode after watching the 2 before I had a system crash about half way thru. Got to about 8 minutes left after system a restart and had a system hang. Acted like the video hung this time.
    Any tips on finding root cause on this one?

  • User profile image
    elhannios

    I know this is old, however, the context fits.

    I've written a test program, that throws an exception. And when I run it with a "procdump -e 1" manually I can see that it throws a exception of the follwing type:
    Exception: C00000FD.STACK_OVERFLOW

    However, with the test program, I won't get a dump file with procdump as the automatic postmortem debugger configured in the registry.

    Does it just trigger on certain Exception types? Can I configure the types? How can I assure/test that procdump is working as AeDebugger?

  • User profile image
    windev
    Stack Overflow is an interesting error type. It is handled in the kernel, rather than user mode -- primarily to block bad code (viruses, etc.) from handling the error, and moving on (i.e. keeping themselves hidden).

    In this situation, WER does not give the AeDebugger the chance to be involved -- instead it takes the dump directly.
  • User profile image
    elhannios

    Thank you. Set me onto the right path.

Add Your 2 Cents