# Node red too slow on raspberry pi 3b+ after network interface up

**URL:** https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199
**Category:** General
**Created:** [20 November 2019 14:58 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199 "2019-11-20T14:58:11Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![muharremsari](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/muharremsari/32/7996_2.png) [@muharremsari](https://discourse.nodered.org/u/muharremsari)
#### Post date: [20 November 2019 14:58 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/1 "2019-11-20T14:58:12Z")

</div>

I was try project on Raspberry pi 3b+ with dhcp and utp unpluged. It was ok. When eth0 set static ip on pi 3b+ node-red & gui (media,clock etc...) goes slow down. I was turn off nic with ifconfig eth0 down command system return to normal speed.

What is my issue?

Best regards

---

<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: [20 November 2019 15:14 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/2 "2019-11-20T15:14:11Z")

</div>

Are you running any network related tasks?  
In a terminal run `top` and see which, if any, processes are hogging the processor.

What do you mean by node red going slow? Do you mean the browser runs slow? If you run the browser in a PC showing the pi node-red server does it still run slow?

---

<div class="post-metadata">

### Author: ![muharremsari](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/muharremsari/32/7996_2.png) [@muharremsari](https://discourse.nodered.org/u/muharremsari)
#### Post date: [20 November 2019 16:07 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/3 "2019-11-20T16:07:34Z")

</div>

Hi Colin  
Thanks for express answer.

The browser have work properly. When i call node-red adress it's comming too late and stay stuck while loading. I saw this delay left on top indicator in node-red workbench window. Node-red dose not have response mouse click immidietly.

---

<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: [20 November 2019 16:14 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/4 "2019-11-20T16:14:18Z")

</div>

And the answers to my other questions?

---

<div class="post-metadata">

### Author: ![muharremsari](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/muharremsari/32/7996_2.png) [@muharremsari](https://discourse.nodered.org/u/muharremsari)
#### Post date: [20 November 2019 16:30 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/5 "2019-11-20T16:30:20Z")

</div>

No more related network task runing on this board. No pressure on cpu and network.  
Everything was good until disable the DHCP client daemon. Because not have dhcp server planned topology.

---

<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: [20 November 2019 17:47 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/6 "2019-11-20T17:47:03Z")

</div>

And the other questions? Still two to answer. Running top and running the browser on a PC.

---

<div class="post-metadata">

### Author: ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)
#### Post date: [20 November 2019 21:50 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/7 "2019-11-20T21:50:47Z")

</div>

As COlin Says - SSH into the Pi and run top - find out what processes are consistently using CPU time and what the load (top right of the screen) is showing

If the busy processes are network related, then use the tools in this link to isolate what is happening

> **[18 commands to monitor network bandwidth on Linux server](https://www.binarytides.com/linux-commands-monitor-network/)**
>
> Here are some command line tools that can be used to analyse and monitor network bandwidth usage on your Linux server.

Are you sure the Pi is secure and you do not have any spyware/crypto mining on there that is looking for an internet connection ?

Can you burn a new SD card with just the PI OS (whichever one you are using) on it and see if it has the same problem when you start networking - if it does then i would suggest you have a physical problem, cabling, switch port, bad ethernet port etc

Craig

Craig

---

<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: [20 November 2019 21:58 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/8 "2019-11-20T21:58:33Z")

</div>

That is a good point, @muharremsari have you had any ports forwarded from the internet to the Pi without appropriate security? Particularly node-red. Open port 1880 up to the internet and it is very likely that your Pi will be infected with malicious flows.  
If so then start again with a fresh Raspbian image.

---

<div class="post-metadata">

### Author: ![muharremsari](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/muharremsari/32/7996_2.png) [@muharremsari](https://discourse.nodered.org/u/muharremsari)
#### Post date: [22 November 2019 14:25 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/9 "2019-11-22T14:25:26Z")

</div>

No internet connection. Pi connected to intranet. I inspect top result. High CPU pressure by chromium.

---

<div class="post-metadata">

### Author: ![muharremsari](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/muharremsari/32/7996_2.png) [@muharremsari](https://discourse.nodered.org/u/muharremsari)
#### Post date: [22 November 2019 14:26 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/10 "2019-11-22T14:26:56Z")

</div>

![IMG_20191122_161812_N](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/c/c30f0fa6c92e07f82aa166190a88a10bd9610079.jpeg)

---

<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: [22 November 2019 17:10 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/12 "2019-11-22T17:10:17Z")

</div>

You still haven't answered one of my original questions, what happens if you run the browser on a PC instead of the pi?

It is showing node-red using a full processor also, so node red is involved in the problem in some way. I suggest you start node-red in safe mode using `node-red --safe` then disable all the flow tabs and deploy. Check `top` then and if ok re-enable tabs and deploy till it goes wrong, then you will know which tab the problem is on.  
Does it speed up again if you just unplug the ethernet cable?

---

<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: [22 November 2019 22:00 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/13 "2019-11-22T22:00:00Z")

</div>

This is most likely a problem.

My RPIs work happily with NR but as soon as I load FF or chrome, the CPU basically dies.

Though maybe not THE problem, it won't be helping.

My advice: Don't run a browser on the RPI running NR.

---

<div class="post-metadata">

### Author: ![muharremsari](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/muharremsari/32/7996_2.png) [@muharremsari](https://discourse.nodered.org/u/muharremsari)
#### Post date: [6 December 2019 06:42 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/14 "2019-12-06T06:42:55Z")

</div>

Yes speed is up unplug ethernet cable.

---

<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: [6 December 2019 07:20 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/15 "2019-12-06T07:20:32Z")

</div>

You still haven't answered the question you replied to (browser on another pc) nor have you said what happens if you try my suggestion (running with --safe and disabling tabs).

---

<div class="post-metadata">

### Author: ![sdrshnptl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sdrshnptl/32/40446_2.png) [@sdrshnptl](https://discourse.nodered.org/u/sdrshnptl)
#### Post date: [2 September 2021 03:29 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/16 "2021-09-02T03:29:37Z")

</div>

In my case if i don't run chrome on RPI 3b+ and open node on other device browser it works perfectly.  
Chrome hog RPI ram.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [2 September 2021 07:01 UTC](https://discourse.nodered.org/t/node-red-too-slow-on-raspberry-pi-3b-after-network-interface-up/18199/17 "2021-09-02T07:01:21Z")

</div>


