Restoring Jupyter client’s GUI (scores and graphs…etc) after client disconnects for long time
Requirements:
- we should use tmux to keep the jupyter server running, even after ssh disconnects. Without tmux, jupyter server will be killed after ssh connection disconnects.
- The client (e.g., your pc/laptop showing the jupyter notebook) may go to hibernation or sleep without problem, but the tab of the browser showing the jupyter clients should not be closed. Only that tab that began running the notebook will be able to restore the whole running GUI elements of the notebook.
- Increase 2 parameters in the jupyter config file:
nano /home/<username>/.jupyter/jupyter_notebook_config.py
if config file is not available, we should generate it by:
jupyter notebook --generate-config
ctrl+w: search for c.NotebookApp.iopub_data_rate_limit
Uncomment and change these values into something very large:
c.NotebookApp.iopub_msg_rate_limit = 100000000
c.NotebookApp.iopub_data_rate_limit = 10000000000