Jupyterhub - single user notebook servers shuts down
-
I would like to use the Jupyter Scheduler extension.
https://jupyter-scheduler.readthedocs.io/en/latest/users/index.html#installation
The installation is working fine.
I then set up a job that runs once a day. This also works without any problems.However, I have noticed one issue. If I don't use the app for a few days, my notebook server is shut down and thus the job will not run again until I start the notebook server.
Is there a way to prevent the Notebook Server from shutting down in the Jupyterhub settings?
-
I would like to use the Jupyter Scheduler extension.
https://jupyter-scheduler.readthedocs.io/en/latest/users/index.html#installation
The installation is working fine.
I then set up a job that runs once a day. This also works without any problems.However, I have noticed one issue. If I don't use the app for a few days, my notebook server is shut down and thus the job will not run again until I start the notebook server.
Is there a way to prevent the Notebook Server from shutting down in the Jupyterhub settings?
-
@balticpenguin are you using Cloudron to deploy JupyterHub ? The Cloudron package has no code to shutdown notebooks
@girish: Yes, I use Cloudron to deploy Jupyterhub.
-
@girish: Yes, I use Cloudron to deploy Jupyterhub.
@balticpenguin OK, I was a bit wrong. When the app gets updated to use the latest notebook, the existing notebooks are shutdown so that they can be started with the newer image. I suspect that maybe the app is getting updated in the middle and thus the notebook is getting shutdown.
Is your job able to start up the notebook server automatically?
-
@balticpenguin OK, I was a bit wrong. When the app gets updated to use the latest notebook, the existing notebooks are shutdown so that they can be started with the newer image. I suspect that maybe the app is getting updated in the middle and thus the notebook is getting shutdown.
Is your job able to start up the notebook server automatically?
@girish: I have checked if the shutdown is related to an update and thus a restart of Jupyterhub. This is not the case.
There must be something running in the background of Jupyterhub that stops the notebook server/Docker container as soon as there is a certain amount of inactivity. -
No manual changes have been made so far.
I could not find jupyterhub-idle-culler in the list of 'pip list' in the terminal of the Jupyterhub container. -
@balticpenguin think we have to check the logs of jupyterhub. Do you see any logs that it is removing a container ? Cloudron itself doesn't remove any containers.
@girish Where or how can I find the log files from Jupyterhub?
-
@girish Where or how can I find the log files from Jupyterhub?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login