Fork me on GitHub

6. Monitoring and controlling your Jupyter session

6.1. Monitoring and control

If you want to see what Jupyter Notebooks and Terminals your Jupyter server is running then

  1. Click the Home browser tab;
  2. Click the Running browser tab.

Here you can shut down (close) individual Notebooks, which may be useful to free up the memory and CPU cores that the cluster’s job scheduler has allocated for your JupyterHub session.

../../_images/sharc-jh-show-running.png

If you want to stop your entire Jupyter server (i.e. end your JupyterHub session) you can

  1. Click Control Panel on the Home browser tab;
  2. Click Stop My Server

Your JupyterHub session may terminate for other reasons:

  • The cluster’s job scheduler may stop your JupyterHub job if your Jupyter server exceeds the amount of RAM you requested via the Spawner Options page.
  • Your JupyterHub job has been running for longer than the (fixed) duration specified on the Spawner Options page.

6.2. Session persistence

You can close your Jupyter-related browser tabs and your Jupyter session will keep running until it terminates for one of the reasons listed above.

You can then revisit the JupyterHub site to reconnect to your Jupyter session and carry on from where you left off.

Warning

If you leave your Jupyter session running and are not using it then you are using CPU cores, memory and possibly GPUs that cannot be used by others.

Please stop your Jupyter session if you no longer need it.