IOPub data rate exceeded Jupyter Notebook
Super Kai (Kazuya Ito)

Super Kai (Kazuya Ito) @hyperkai

About: I'm a web developer. Buy Me a Coffee: ko-fi.com/superkai SO: stackoverflow.com/users/3247006/super-kai-kazuya-ito X(Twitter): twitter.com/superkai_kazuya FB: facebook.com/superkai.kazuya

Joined:
Oct 21, 2021

IOPub data rate exceeded Jupyter Notebook

Publish Date: May 2
0 0

Buy Me a Coffee

*My post explains how to solve IOPub data rate exceeded error on JupyterLab but it also works to Jupyter Notebook.

I got the error below when using Jupyter Notebook on Anaconda on Windows:

IOPub data rate exceeded.
The Jupyter server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
--ServerApp.iopub_data_rate_limit.

Current values:
ServerApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
ServerApp.rate_limit_window=3.0 (secs)

So, I closed Jupyter Notebook on Chrome, then I ran the command below on Anaconda Prompt to generate jupyter_notebook_config.py to C:/Users/<username>/.jupyter/:

jupyter notebook --generate-config
Enter fullscreen mode Exit fullscreen mode

Then, I found the line 827 below on jupyter_notebook_config.py:

# c.ServerApp.iopub_data_rate_limit = 0.0
Enter fullscreen mode Exit fullscreen mode

Then, I uncommented it, set 10000000 to it and save as shown below:
*Memos:

  • It's 1000000 by default.
  • It also affects to JupyterLab.
  • If there are both jupyter_notebook_config.py and jupyter_lab_config.py, jupyter_lab_config is prioritized.
c.ServerApp.iopub_data_rate_limit = 10000000
Enter fullscreen mode Exit fullscreen mode

Finally, I reopened Jupyter Notebook on Chrome with Anaconda Navigator, then I couldn't get the error above.

Comments 0 total

    Add comment