# Node Red very Slow

**URL:** https://discourse.nodered.org/t/node-red-very-slow/67640
**Category:** General
**Created:** [13 September 2022 06:27 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640 "2022-09-13T06:27:05Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ALPF5555](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@ALPF5555](https://discourse.nodered.org/u/ALPF5555)
#### Post date: [13 September 2022 06:27 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640/1 "2022-09-13T06:27:05Z")

</div>

Hello Everyone  
I am having Issues with Node Red.. It appears to be the same issue on at least 6 Raspberry Pi 4B models that I am running Node Red on.  
The Issue is the screen and moving Nodes etc is very slow.. It takes up to 5 seconds to drag a node onto the screen. I have an Inject node and a debug node on the screen at present and they are the only two node running on a Raspberry Pi 4 B 4B ram and an Argon One M2 case and a 256 GD western digital green Sata SSD.  
Everything was running good but this last week everything seems to have slowed down to the point where it takes 5 to 6 seconds to drag a node onto the page then up to 7 seconds after I hit the timestamp tab for the time stamp to appear on the debug screen.  
I have different Raspberry Pi running some with Argon one M2 case some without all have some SSD drive so no flash cards 4 have the western digital 256 GB Sata SSD and 2 have USB 3.0 Plug in SSD drives plugged into the Raspberry Pi as the boot drive.  
I have tried working with VNC and plugging a keyboard and mouse into the Raspberry Pi and still same.  
I am running all of them in the Headless mode with a 1920 X 1080 screen resolution.  
I have one Raspberry Pi running a lot of Nodes for House and Pool control program and one running Inject and Debug node only and all seem to be the same very slow and takes a long time to move nodes on the screen or to do simple Inject.

I am running Bullseye on a couple and Raspian on the rest and all running Node Red Version 3.02 I think this is the latest.  
When I click on the Hamburger menu it takes up to 7 seconds for the drop down menu to appear and a further 5 seconds to move the cursor to the task I need like flow then another 4 seconds to have the delete menu appear  
I have checked the Task Manager and all are using about 5 to 10% CPU and up to 700 MB of Ram memory so plenty left.  
Is there anyone else having the same issues and if so how did you correct the problem?

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [13 September 2022 06:47 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640/2 "2022-09-13T06:47:05Z")

</div>

Just to make sure it is node-red causing the problem:

Put the CPU LOAD graph in the top menu bar and check it.  
(I give the graph a green background and make the foreground colour red. Then if it is 100% load, the graph shows all red.)  
Is it _maxed out_?

Open a _Terminal_ (CLI) and stop node-red

```auto
cd .node-red
node-red-stop

```

What _could_ be happening is that the flow is locked in some _loop_ and so it is hogging CPU load.

If the load was high and goes to _nothing_ after you stopped node-red, then it is most likely a flow problem as I mentioned.

I won't get ahead of things now.

Hope to hear back soon.

---

<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: [13 September 2022 06:56 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640/3 "2022-09-13T06:56:49Z")

</div>

What about the powersupply of your pi. Is it good enough to power the pi and ssd.  
If it can't deliver enough power the cpu will throttle down.  
Have a look at the red led, it will tell you about the power supply.

> **[What Does the Green and Red Light Mean on Raspberry Pi? | Raspberry tips](https://raspberrytips.com/green-and-red-light-on-raspberry-pi/)**
>
> Understanding the different signals given off by technology can be confusing for both pros and beginners alike. Raspberry Pi, a miniature computer, is no exception…

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [13 September 2022 06:59 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640/4 "2022-09-13T06:59:51Z")

</div>

> [@ALPF5555](#):
>
> I have tried working with VNC and plugging a keyboard and mouse into the Raspberry Pi and still same.  
> I am running all of them in the Headless mode with a 1920 X 1080 screen resolution.

Why are you accessing the browser on the PI over VNC.

Use the computer to connect to node-red editor directly instead of VNCing to the PI...

`http://ip-address:1880`

Try that - is it improved?

* * *

Another question: Are you running dashboard? Do you have lots of data in charts?

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [13 September 2022 07:05 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640/5 "2022-09-13T07:05:33Z")

</div>

Yeah, I had forgotten about that nasty one.

Been there myself for a long time.

---

<div class="post-metadata">

### Author: ![ALPF5555](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@ALPF5555](https://discourse.nodered.org/u/ALPF5555)
#### Post date: [13 September 2022 07:21 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640/6 "2022-09-13T07:21:49Z")

</div>

I have tested the CPU Load and checked the loading on the CPU 0,1,2 and 3  
O goes up to max of 100% and so does 1 when booting up up the web browser and loading Node Red but drop back to 17% when running on Core 0 Core 1 is at about 5 to 7%.  
When I stop Node Red the Cores drop to 2% load  
The Memory load is running at 400 to 700 MB of the 4 GB..  
I am using the Raspberry Pi power supplies and have not changed these they are the official Raspberry Pi power Supplies I bought from Pi Hut in the UK.

I am using VNC because I am in Nottingham and two of the Pi,s are in London and 2 more in Norfolk.  
One some of the Raspberry Pi I have dashboards running but on two that are here in my house I have no dashboards running.

I have tried to connect to the local Raspberry Pi on my network and they now seem to work correctly so I am thinking it is a VNC problem.

I have no other way of connecting to the remote Raspberry Pi other than VNC as they are located at least 100 or more miles from where I am.  
I am supposed to install a couple more in Corsica so that makes it even harder to connect without VNC.

---

<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: [13 September 2022 07:25 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640/7 "2022-09-13T07:25:23Z")

</div>

If you access other sites from the pi via VNC are they also slow? If so then it is not a node-red issue.

Can you use a VPN instead?

---

<div class="post-metadata">

### Author: ![ALPF5555](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@ALPF5555](https://discourse.nodered.org/u/ALPF5555)
#### Post date: [13 September 2022 07:35 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640/8 "2022-09-13T07:35:48Z")

</div>

Thank you for all your help the two Raspberry Pi that I have locally are working great and not a problem connecting and the speed is normal when I connect with the IP address not using VNC..  
I guess the Issue is with VNC not the Node Red..  
I will have to set up connection using some other means to be able to connect remotely to the different Pi that I have installed.  
I guess it will be another learning process when I thought I had nothing better to do than make the connection using VNC which was simple until very recently.

Once again thank you very much for all your help everyone

---

<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: [13 September 2022 09:05 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640/9 "2022-09-13T09:05:50Z")

</div>

Quite a few folk round here use [zerotier](https://www.zerotier.com/) as a way to create a simple secure vpn-like network for remote access... and then browse as if they were local. Others tools are available.
