0

Our production application pools (IIS 8.0-8-5, .Net 4.5 integrated pipeline) are set to recycle daily, this is unlikely to change in the short term.

Is there a way to prevent a DebugDiag (2.2.0.14) creating a dump at this time and blowing out our disk storage?

Shaun
  • 1,293
  • 16
  • 19
  • It depends on how you configured it. Usually the crash rule only creates dumps when the process crashes, but it seems that you configured it to also create dumps when the process exits (during recycle). So that's something you should review yourself. BTW, DebugDiag rules should be disabled by default on a production system. Why do you leave it enabled always? – Lex Li Aug 03 '18 at 12:03
  • @LexLi I don't believe there is a way to configure it not to dump on process exit, at least there is no option that I have seen, could you be more explicit? We have crashes that can't be reproduced in our testing or integration environments, hence the dumps on production, but the same issue would apply regardless of environment. – Shaun Aug 03 '18 at 15:29
  • 1
    If you have to leave the rule enabled, then your only chance is to set a limit on user dump count, https://blogs.msdn.microsoft.com/asiatech/2014/01/09/debug-diagnostic-2-0-creating-a-rule-in-crash-mode/ and then manually remove useless dumps from the disk. As a troubleshooting tool, it does not have many settings. – Lex Li Aug 03 '18 at 15:32
  • That's a shame, seems like it should be an option. Feel free to add your comment as an answer so I can accept it. – Shaun Aug 03 '18 at 16:25
  • How did you create such rule? I've just tried to reproduce (crash rule - specific iis application pool) and id didn't create a dump on recycle event. – Vladimir Dronov Aug 08 '18 at 09:15

1 Answers1

0

Copied from the comment.

Debug Diag is a troubleshooting tool, so it does not have too many options to configure. Generally speaking you should disable the rule as soon as possible.

But if you need to live it enabled, then your only chance is to set a limit on user dump count, and then manually remove useless dumps from the disk to clean up space. More information on user dump count configuration can be found in this article.

Lex Li
  • 60,503
  • 9
  • 116
  • 147