-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mamba still running after closing jupyterlab #132
Comments
Hey @ericpre thanks for reaching out. |
Thanks for the quick reply and sorry for not being specific. If jupyterlab have been running for long enough (more than it takes for It seems that there are two different things going on:
|
Thanks for the reply. I try not to get too much in technical details but trying to explain what is going on. So first about
About why gator is not killing the task: HTTP request between the frontend and the backend must be stateless and quick. So tasks in the extension are run in separated executors. The frontend needs then to ping the server to obtain the task status (and reply if it is finished). Unfortunately if the server shutdown is requested, I'm not aware of a notification system that will allow the extension to stop still running tasks - I asked on the server dev chat to know if this is possible.
|
Thanks for the detailed explanation! On
Yes, indeed and we should expect users not to kill the server (or the process) when they started an update, which should be fine because an update would have triggered by the user. I have noticed that gator starts the |
I'm not able to run that command using mamba 0.9.2 & conda 4.10.0. Which version of mamba are you using?
As the search take some times the idea is to trigger the listing refresh as quickly as possible. But your comment makes sense - it would be good to force this initial update only if the file is not there or if it is old (old being an user setting) |
@ericpre contribution are welcomed if you want to give a try to implement this enhancement. |
Sorry, it was a typo! I meant
I suspect that I don't know much about it, but I may have a look at it at some point - most likely not in the near future. |
No problem - the
No pressure 😉 |
Description
When gator is installed, mamba is still running after jupyter lab is closed: the GUI is closed but the mamba process is not completed and in the system monitor, I can see that
mamba search --json
is still running for about 1min 30s. Once this is done, the process is completed, i.e I can use the terminal prompt again.If mamba is not running when closing jupyterlab, then this issue doesn't occur.
Reproduce
Expected behavior
The process should be stop immediately once jupyterlab stops.
Context
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: