VS Code spawn unneeded kernels that cannot be killed from Jupyter #4442
Labels
bug
Issue identified by VS Code Team member as probable bug
notebook-remote
Applies to remote Jupyter Servers
Environment data
Name Version Build Channel
jupyter 1.0.0 py38_7
jupyter_client 6.1.7 py_0
jupyter_console 6.2.0 py_0
jupyter_core 4.7.0 py38h06a4308_0
jupyterlab 2.2.6 py_0
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 1.2.0 py_0
python.languageServer
setting: Microsoft[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (
python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]Expected behaviour
VS Code Python extension does not spawn unneeded kernels, and allows the user to close them.
Actual behaviour
Whenever the user runs "create interactive window" a new Jupyter kernel is spawned, even if the user wants to resume an existing kernel (e.g. one running as a notebook on the Jupyter server). These ghost kernels are not listed in the server UI console or the CLI console, and cannot be killed, leading to clutter and resource leakage.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Logs
The text was updated successfully, but these errors were encountered: