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

Kernel does not recover after stata process is killed #410

Open
matuskosut opened this issue Dec 1, 2021 · 0 comments
Open

Kernel does not recover after stata process is killed #410

matuskosut opened this issue Dec 1, 2021 · 0 comments

Comments

@matuskosut
Copy link

Problem description

Kernel does not recover after stata process is killed.

Running stata_kernel in jupyter invokes this process, that I suppose is control process:

python -m stata_kernel -f ~/.local/jupyter/kernel-52386dec-3b41-429d-badc-548772e60645.json

This process should then invoke stata (stata-mp):

/usr/bin/stata16/stata-mp

which I suppose executes stata code from the notebook cells.

There are cases when stata-mp process gets killed (e.g. OOM killer - running out of memore).
Control process does not seem to notice this, there are no error logs reported to user side (e.g. error logs below the cell).
The cell appears to be executing ([*]), but it never reports back. Control process does not attempt to start a new stata-mp process either.

Debugging log

no information regarding kill event logged

Expected Output

Expecting error log or notification, or any kind of information about stata-mp process being killed (not present anymore).

Other information

If you didn't attach the debugging log, please provide:

  • Operating System: Linux
  • Stata version: stata16
  • Package version: 1.12.2
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