IJulia.jl
IJulia.jl copied to clipboard
Julia processes are not automatically shut down on Jupyter server shutdown
When closing an IJulia notebook, unless you do an explicit "shutdown kernel" command from within the notebook, its associated Julia process continues to run after the Jupyter server has terminated. Verified with Julia 1.5.3 and 1.6.0-beta1, on MacOS Catalina and Ubuntu 20.04.
As @rgobbel reported, I too have this issue on Fedora 32. I am running Julia 1.5.0 and IJulia version 1.23.1. Thanks for the help!
Seems like this issue is related as well to bug #921. Any updates on this @stevengj or @fredrikekre?
Seems like this should be reported to the Jupyter repo, not IJulia?
Seems like this should be reported to the Jupyter repo, not IJulia?
I thought this was specifically an IJulia problem, but as far as I can tell everything works fine with Jupyter Lab--clean shutdown and no dangling processes whether I use the "Quit" command or just type a ctrl-C.
I encountered similar problems on a linux cluster. A lot of julia process still exist even after complete shut down of Julia and Jupyter-lab. Any updates on this?
same behavior even more "openly visible" if you use jupyter console --kernel=julia
(in my case in Ubuntu 20.04 on WSL2)
in that case exit()
will not even close the typical IJulia input [1]: ...
prompt;
you can only help yourself via CTRL-Z
but a ps
command will continue to show you the jupyter-console
process, which then not even a kill
command will be able to get rid off
That this is most probably a "pure" Julia/IJulia issue could be deduced from the fact, that neither Python nor R kernels show such behavior in jupyter console ...