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

Can't capture pipes if kernel dies. #127

Closed
MSeal opened this issue Mar 29, 2018 · 1 comment
Closed

Can't capture pipes if kernel dies. #127

MSeal opened this issue Mar 29, 2018 · 1 comment

Comments

@MSeal
Copy link
Member

MSeal commented Mar 29, 2018

The kernels today are usually capturing stdout and stderr messages directly and buffing them into the cell json contents. But if one is running papermill and the kernel dies (e.g. OOM, kill -9) the active messages get lost. I'm trying to figure best approaches for capturing these logs in these events.

There is an attempt to explore capturing pipes on the kernel process via:
ipython/ipykernel#315

@MSeal
Copy link
Member Author

MSeal commented Aug 3, 2018

0.14.1 release has a fix to this issue by streaming all messages (which can be logged/viewed with --log-outputs)

@MSeal MSeal closed this as completed Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant