3

I got the error when i running the jupyter notebook in sagemaker:

OPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.
Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)

I tried several solutions (e.g., solution1, solution2), but it did not work.

Could someone know how to solve the issue?

sweetyBaby
  • 201
  • 1
  • 8
  • Take the answer below and add `c.NotebookApp.iopub_data_rate_limit = 10000000` to the end of `.jupyter/jupyter_notebook_config.py` file. If you just uncomment and add a zero it doesn't work, at least that was my case. – jayrythium Feb 18 '21 at 16:25

1 Answers1

1

You can uncomment and edit this line c.NotebookApp.iopub_data_rate_limit = 1000000 in ./.jupyter/jupyter_notebook_config.py in Sagemaker terminal.

I used vim editor to do that.

Arash
  • 403
  • 3
  • 10