How to stop jupyter kernel session instead of stopping the whole server?

In jupyter, I can stop notebook kernels so that I do not have to close jupyter server every time I want to open new notebooks. I am using a remote notebook server, it is inconvenient to go to the server and close it each time I finish working. I am wondering how can I just stop the kernels sessions of notebooks just like what we can easily do in jupyter lab?

3 comments
Comment actions Permalink

Have you tried Interrupt Kernel?

0
Comment actions Permalink

Also, there is a feature request about allowing disconnecting from kernel https://youtrack.jetbrains.com/issue/PY-37834

0
Comment actions Permalink

Actually the "interrupt Kernel" does not stop kernel sessions. It only stops any running progress (e.g. a for loop). The whole session is still running. This can be checked using programs like htop. I am not sure if the kernel disconnection can help with issue. If the current pycharm does not have this function, maybe I can just submit a feature request.

0

Please sign in to leave a comment.