Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create dumps on signals #1

Open
akruis opened this issue Mar 21, 2018 · 0 comments
Open

Create dumps on signals #1

akruis opened this issue Mar 21, 2018 · 0 comments

Comments

@akruis
Copy link

akruis commented Mar 21, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant