How to set NotebookApp.iopub_data_rate_limit and others NotebookApp settings in JupyterHub?
Asked Answered
D

4

27

I want to start my notebooks with jupyter notebook --NotebookApp.iopub_data_rate_limit=10000000000 arguments. Where one could set it in JupyterHub?

Differentiate answered 19/4, 2017 at 8:33 Comment(0)
T
29

Open the command line and enter

jupyter notebook --NotebookApp.iopub_data_rate_limit=1e10

This should start jupyter with the increased data rate.

Trabeated answered 15/3, 2018 at 16:51 Comment(1)
Is there any way to set it within a running notebook, i.e. without having to restart jupyter?Dummy
A
11

You have to create config file using this command $ jupyter notebook --generate-config, The answer in this link

Almshouse answered 8/5, 2017 at 19:30 Comment(0)
A
10

04: "IOPUB data rate exceeded" problem of "jupyter low memory.." in windows:

  1. open cmd:
  2. in main path:C:\Users\siege> (this is my root path)

    type the command: "jupyter notebook --generate-config"

    the you hav: C:\Users\siege>jupyter notebook --generate-config

  3. system will generate "jupyter_notebook_config.py" in path:C:\Users\siege>.jupyter

  4. open "jupyter_notebook_config.py" find the line

    #c.NotebookApp.iopub_data_rate_limit = 1000000

    uncomment it and change it to:

    c.NotebookApp.iopub_data_rate_limit = 100000000

  5. save it

  6. restart jupyter

https://www.youtube.com/watch?v=B_YlLf6fa5A

Aurilia answered 1/4, 2019 at 5:52 Comment(1)
this is the only correct answer since it works with jupyterhub (not just jupyter notebook/lab) as per the OPIt
D
3

to enable it with jupyter-lab, use the following cmd for your environment

conda activate 'your env'
jupyter-lab --NotebookApp.iopub_data_rate_limit=1e10
Doiron answered 19/3, 2020 at 1:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.