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

Already used connection error #44

Open
lassoan opened this issue May 16, 2020 · 1 comment
Open

Already used connection error #44

lassoan opened this issue May 16, 2020 · 1 comment

Comments

@lassoan
Copy link
Contributor

lassoan commented May 16, 2020

From @jcfr: "At some point I got an already used connection message ... but I am not able to reproduce it yet."

When user requests a kernel restart or Jupyter determines that the kernel is dead then, Jupyter sends a server stop request to Slicer. If Slicer is busy (in the middle of a long computation) then Jupyter kills the process - which is actually just the launcher, so not SlicerApp-real keeps running, still using the server port.

Maybe the kernelspec could be changed so that SlicerApp-real is launched directly?

@pieper
Copy link
Member

pieper commented May 16, 2020

Or the launcher could kill SlicerApp-real when it gets a kill signal (or more generally, it could pass all signals to the subprocess). This would make things more consistent across platforms since on mac there's no launcher.

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

No branches or pull requests

2 participants