# Web browser crashing

**URL:** <https://discourse.nodered.org/t/web-browser-crashing/56577>\
**Category:** General\
**Tags:** node-red-dashboard\
**Created:** [13 January 2022 10:08 UTC](https://discourse.nodered.org/t/web-browser-crashing/56577 "2022-01-13T10:08:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinck6927](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vinck6927](https://discourse.nodered.org/u/vinck6927)\
**Post date:** [13 January 2022 10:08 UTC](https://discourse.nodered.org/t/web-browser-crashing/56577/1 "2022-01-13T10:08:38Z")

</div>

Hi NodeReders !

This is my first post on this forum, but I’ve been using nodered for 2 years.  
I'm using a Rpi 4 to retrieve some data via MQTT at my house.  
There are a lot of data that are retrieved and I don't have any probleme

I improved this system at my parent's house by adding a display wired on the hdmi output of the Rpi. So I'm using nodered dashboard displayed on the stock web browser of the pi to do this.  
There are significaly less data that are retrieved than at my house.  
The problem is that the web browser is crashing after some time (the browser displays that there is no connection with the server). After that the pi is really slow...

What could it be ?

Same config on my Rpi and the Rpi of my parents :

Raspbian Bullseye  
2GB RAM  
32GB memory card

Softwares :

- Mosquitto
- Grafana
- Nodered
- InfluxDB

Kind regards

---

<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 January 2022 10:47 UTC](https://discourse.nodered.org/t/web-browser-crashing/56577/2 "2022-01-13T10:47:55Z")

</div>

> [@vinck6927](#):
>
> The problem is that the web browser is crashing after some time (the browser displays that there is no connection with the server). After that the pi is really slow

Is the browser really crashing? (If it crashed how can it display no connection)

Reading between the lines, what's really happening is the browser is not being serviced due to node-red hitting the cou hard - perhaps a loop triggered by a certain message.

When this happens, check the processes (use top or htop) - is the CPU maxed out?

Or perhaps, node-red is being crashed. What do the logs show?

---

<div class="post-metadata">

**Author:** ![vinck6927](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vinck6927](https://discourse.nodered.org/u/vinck6927)\
**Post date:** [13 January 2022 13:32 UTC](https://discourse.nodered.org/t/web-browser-crashing/56577/3 "2022-01-13T13:32:25Z")

</div>

Hi Steve-Mcl,

Thanks for your answer.  
By crashing, I would mean that the browser is blank (white screen)

I can't do anything via the desktop, I need to use the command line to end the web browser  
However, node-red is still runiing. I can access the dashboard via another device

I already get down the data rate incoming ont the mqtt server. It unloads the cpu but the problem is still present

top :

 ![1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/1/a19b2911debe68c6923f7eaa08a994c72a8a5629.png)

htop :

 ![2.PNG](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/56d0a821f7b4c0fb2aab4246e38dfb61e12c0d4e.jpeg)

---

<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 January 2022 13:37 UTC](https://discourse.nodered.org/t/web-browser-crashing/56577/4 "2022-01-13T13:37:12Z")

</div>

Which browser is it?

is the browser up to date?

Are there charts on the dashboard page - if yes, how many and how many points are set to display?

PS: remember, a browser is a heavy component to run on a raspberry pi (in terms of CPU and memory) - you may fair better with an RPi4 with more memory.

---

<div class="post-metadata">

**Author:** ![vinck6927](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vinck6927](https://discourse.nodered.org/u/vinck6927)\
**Post date:** [13 January 2022 14:03 UTC](https://discourse.nodered.org/t/web-browser-crashing/56577/5 "2022-01-13T14:03:50Z")

</div>

Thanks for your answer,

I didn't know that a browser is a heavy component.  
Yes there are 5 charts plotted at 1 point per second... 😕  
So i will reduce the data rate displayed or i will change my project.

Thanks for all

---

<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 January 2022 18:21 UTC](https://discourse.nodered.org/t/web-browser-crashing/56577/6 "2022-01-13T18:21:27Z")

</div>

> [@vinck6927](#):
>
> Yes there are 5 charts plotted at 1 point per second..

How many lines on each chart and what time range have specified for the charts? Work out the total number of samples that get put onto all the charts and see how many that comes out to.

---

<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 March 2022 18:21 UTC](https://discourse.nodered.org/t/web-browser-crashing/56577/7 "2022-03-14T18:21:45Z")

</div>

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