Manage JupyterHub sessions

Overview

Follow this guide to close JupyterHub notebook sessions.

For students

For course staff

  • Please direct students to follow the guide at the link below to close their sessions
  • Connect to the campus VPN and log into the JupyterHub URL for your course

  • Select 'Admin' at the top

  • Select 'stop server' for select users, or 'Stop All' at the top to end all sessions.  Note the 'Last Activity' and 'Running' columns to identify idle sessions.
    • Course staff must regularly log in and close sessions to prevent the JupyterHub server from freezing
  • If you cannot access the JupyterHub interface at all, you can still access the virtual machine hosting your course's JupyterHub instance via ssh and reboot the server.  
    • ssh <NETID>@<HOSTNAME> # The hostname of your server follows the URL for your JupyteHub instance.  e.g.: https://phys999-jupyterhub.engrit.illinois.edu implies a hostname of phys999-jupyterhub.engrit.illinois.edu
    • Once you are logged into the system, you can just run "sudo reboot" and the machine will reboot.  
    • Please note, the jupyterhub service on the server may take up to 15 minutes to start after a reboot.  




Keywords:jupyterhub jupyter "jupyter notebook" "python notebook"   Doc ID:107421
Owner:Manu P.Group:University of Illinois Engineering IT
Created:2020-11-30 09:52 CSTUpdated:2020-12-01 14:14 CST
Sites:University of Illinois Engineering IT
Feedback:  2   2