Processes remain after quitting JuputerLab Desktop app on Mac
See original GitHub issueDescription
On MacOS 11.6.3 (Big Sur), when I use JupyterLab Destkop and exit the application, I see there are still some processes running:
One is of the type: python -m jupyterlab --no-browser --LabServerApp.schemas_dir=/Applications/JupyterLab.app/Contents/Resources/build/schemas --JupyterApp.config_file_name= --ServerApp.port=50583 --ServerApp.password= --ServerApp.allow_origin=* --ContentsManager.allow_hidden=True
and each of these has multiple processes of the form /Users/ivan/Library/jupyterlab-desktop/jlab_server/bin/python -m ipykernel_launcher -f /Users/ivan/Library/Jupyter/runtime/kernel-<SOMEUUID>.json
Reproduce
Will try to reproduce from clean slate next time (laptop has been running for a few days so not sure what exactly could be the cause).
One thing I have been running is Django runserve from inside a notebook using !./manage.py runserver
which kind of “blocks” that notebook until I press STOP button, but maybe I quit the app without stopping?
Expected behavior
No more processes after quitting app.
Context
- Operating System and version: Mac 11.6.3
- JupyterLab-Desktop version: Version 3.3.4-2
- Installer: .dmg
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
Just updated and briefly tested (nothing showed up when doing
ps aux | grep -i '[j]upyter'
after closing), also worked on Ubuntu 20.04. Thanks for fixing this!I can confirm latest JupyterLab Desktop exists cleanly. (installed via the .dmg installed from https://github.com/jupyterlab/jupyterlab-desktop/releases/tag/v3.5.1-1)
I only did limited testing: I opened, closed, then ran
pstree
and don’t see any jupyter processes running.If @tuanpham96 can confirm on linux too, I guess we could close this after.
Thanks to all involved in fixing this!