Skip to contentSkip to conversation

Aborting a core dump on a fatal signal

DISCUSSION Raymond Jennings 1 participant 1 message Sep 25, 2017

lore
Share & tools
lore
#0 lore raw

Would there be any benefit to allowing an in-progress core dump to be aborted if the dumping process receives a fatal signal?

Example:

Process segfaults, starts dumping core, but it has a lot of virtual memory allocated so it promptly leads to a queue-clogging deluge of I/O that takes in some cases several minutes to finish.

In between the time where it snags the crash signal and the time when it finishes dumping and terminates, I'd like to be able to send it a SIGKILL or something to abort the core dump.