Manage JupyterHub sessions


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.  Ensure the URL is prefaced with 'https://'.

  • 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, 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 JupyterHub instance i.e.: implies a hostname of
    • 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:2021-03-15 14:52 CST
Sites:University of Illinois Engineering IT
Feedback:  2   2