# Node Red Dashboard Slow

**URL:** https://discourse.nodered.org/t/node-red-dashboard-slow/70647
**Category:** General
**Created:** [15 November 2022 13:03 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647 "2022-11-15T13:03:06Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [15 November 2022 13:03 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/1 "2022-11-15T13:03:06Z")

</div>

The dashboard is very slow when you press the toggle switch. It loads fine and changing tabs is fast but only slow when I press toggle switches. Also, the editor is slow when I inject. It takes a long time until it actually injects after clicking.

---

<div class="post-metadata">

### Author: ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)
#### Post date: [15 November 2022 14:41 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/2 "2022-11-15T14:41:29Z")

</div>

Hi,  
Maybe you can give us some more info regarding the NR version, what dashboard and what dashboard version you are using.  
Some info regarding the hardware you are using to run NR on, what OS and what hardware you use to edit NR.

---

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [15 November 2022 14:46 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/3 "2022-11-15T14:46:42Z")

</div>

Node18, NR V3.0.2 on Raspberry pi 4 4gb.

I use my laptop to access both the editor and the dashboard.

---

<div class="post-metadata">

### Author: ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)
#### Post date: [15 November 2022 15:05 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/4 "2022-11-15T15:05:37Z")

</div>

How do you access the dashboard? By browser or Vnc viewer.

---

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [15 November 2022 15:09 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/5 "2022-11-15T15:09:12Z")

</div>

Browser - Chrome

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 November 2022 15:45 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/6 "2022-11-15T15:45:26Z")

</div>

In the pi run `top` and check if something is hogging the processor.

---

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [15 November 2022 16:00 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/7 "2022-11-15T16:00:29Z")

</div>

Node-red is using the most CPU at about 30%

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 November 2022 16:07 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/8 "2022-11-15T16:07:59Z")

</div>

That is high, but not high enough to slow it down.  
If you feed an inject node direct into a debug node do you see a delay when you click the inject node?

---

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [15 November 2022 16:12 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/9 "2022-11-15T16:12:50Z")

</div>

Yes, there is a delay between injecting it and the response from debug node.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 November 2022 16:18 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/10 "2022-11-15T16:18:41Z")

</div>

That is unusual. Does it make a difference if you do not have a browser tab open on the dashboard?

Are you using Charts? If so how often are they being updated?

What rate are other data on the dashboard being updated at and are there a lot of them?

---

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [15 November 2022 16:28 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/11 "2022-11-15T16:28:29Z")

</div>

No difference.  
Only one chart for 800 points or 2 hours of data.

I just disabled a ping node that pings 100 IPs and now the delays are gone in toggling and injecting. These are all machines on the floor.

I am pinging all in one ping node. Is there a better way to do this?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 November 2022 16:49 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/12 "2022-11-15T16:49:10Z")

</div>

If you let the pings run but disconnect the wire on the ping node output what happens?

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [15 November 2022 17:05 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/13 "2022-11-15T17:05:44Z")

</div>

The ping node spawns out to the OS level ping command - so doing that for 100 addresses would be like opening 100 windows and running the command in each... not really a good way to check 100 machines to be honest.

---

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [15 November 2022 17:35 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/14 "2022-11-15T17:35:38Z")

</div>

That doesn't help.

---

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [15 November 2022 17:35 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/15 "2022-11-15T17:35:55Z")

</div>

Is there a better way to do this?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 November 2022 19:13 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/16 "2022-11-15T19:13:33Z")

</div>

SNMP is the tool generally used for monitoring devices on a network, if that is what you are doing.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [14 January 2023 19:14 UTC](https://discourse.nodered.org/t/node-red-dashboard-slow/70647/17 "2023-01-14T19:14:00Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
