Skip to content

Create dumps on signals #1

@akruis

Description

@akruis

I need support for the following use case: a Python program hangs (i.e. a server process in accept(2)). An admin kills the process. Upon termination the process writes a dump for post mortem analysis.

Currently the exepthook provided by pyheapdump ignores exceptions not derived from Exception. As a consequence it ignores a SIGINT (ctrl-C). And any other exception simply kills the python process.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions