Jupyter Notebook does not close properly #10679

Open
bhaskar21 opened this Issue Jun 27, 2017 · 4 comments

Comments

Projects
None yet
2 participants

Hello Team,

We are using HPC/LSF farm. When we use Jupiter notebook to be launched on remote machine and when we try closing by either:

Closing browser
Or
Ctrl+c

This is not exactly closing all the incidents of Jupiter notebook on execution machine.
I think DBUS instance might be causing the issue.
Could you please help in what process, variables need to be checked to see Jupiter notebook closes correctly?

Thanks & Regards,
Bhaskar

Owner

takluyver commented Jun 27, 2017

Closing browser

This doesn't do anything to stop the notebook server running.

Ctrl+c

This should work - what do you see when you do it?

I think DBUS instance might be causing the issue.

I don't think we do anything with DBus.

When I type Ctrl + C I get below message:

I 07:35:15.678 NotebookApp] interrupted
Serving notebooks from local directory: /home/nxa26768
0 active kernels
The Jupyter Notebook is running at: http://localhost:8888/?token=f1b914d1c0b01a9b28fee97c2c23c0a05816d5bf26b4c476
Shutdown this notebook server (y/[n])? y
[C 07:35:18.926 NotebookApp] Shutdown confirmed
[I 07:35:18.929 NotebookApp] Shutting down kernels

Owner

takluyver commented Jul 3, 2017

That looks normal. Does it do that even if you shut the server down before starting any kernels?

takluyver referenced this issue in jupyter/notebook Jul 3, 2017

Merged

Log how many kernels need shutting down #2624

Am sorry for coming back on this very late...
Actually am not starting any kernel here. Am just launching the notebook in remote machine and tried closing this with <ctrl+c>. Will check on this and get back to you.

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