I've been using OctoPrint 1.3.10 on a OctoPi 0.17 for quite some time without any major issues. Now, after upgrading to OctoPrint 1.4.0 I realized that as soon as I open a browser window and visit http://octopi.local/, I get a constant network usage of ~8 MB/s from the OctoPi to the machine running the browser (ssh'ing into the RPi shows that process
haproxy has constant cpu usage of ~10%).
I investigated a little bit and found out that only closing the browser window ends that network traffic. Switching to another tab inside OctoPrint (like Settings, or Temperatur, Control, Terminal, ...) does not change anything. When switching to Control with the webcam footage, it increases to ~14 MB/s, switching away from Control with the webcam footage reduces the traffic to the ~8 MB/s after a few seconds.
I even did a complete reinstall of OctoPi 0.17, first upgraded OctoPrint 1.3.10 to 1.4.0 and imported my backup ... immediately back to the same behaviour.
My installed 3rdparty plugins are:
- Bed Visualizer
- Cancel Objects
- Dragon Order
- Filament Manager
- Firmware Updater
- Floating Navbar
- Navbar Temperature Plugin
- PrintTimeGenius Plugin
- Prusa Leveling Guide
Then I decided to uninstall one plugin after the other in order to see how the behaviour changes. And luckily, right after uninstalling the first in alphabetical order, namely Bed Level Visualizer (Bed Level Visualizer) the network traffic immediately stopped.
Now the big question: Can somebody explain this behaviour to me?
What can I do to further debug the issue?
Thanks in advance!