# Node-RED Freezing Issue After Running for a Period of Time

**URL:** <https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972>\
**Category:** General\
**Tags:** function-node\
**Created:** [18 December 2025 06:39 UTC](https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972 "2025-12-18T06:39:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![superaugus](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@superaugus](https://discourse.nodered.org/u/superaugus)\
**Post date:** [18 December 2025 06:39 UTC](https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972/1 "2025-12-18T06:39:14Z")

</div>

The main operation flow of my Node-RED program is as follows:

1. Act as a client to connect to access control systems and elevators, and conduct command interaction with them.
2. Act as a scheduling center to subscribe to door opening/closing and elevator commands from system P; after receiving the commands, send them to access control systems or elevators via TCP output, and then publish MQTT messages to notify system P.
3. Subscribe to business-related MQTT messages, process the data, and then synchronize and update it to the MySQL database.
4. Call HTTP interfaces to handle related business processes, which also include connecting to MySQL for database queries and other operations.

After the program runs for a period of time, problems such as unresponsiveness, freezing or delays will occur in the business processes related to access control systems and elevators. Restarting the Node-RED service will restore normal operation. I would like to ask if anyone has encountered similar problems, and how to locate the root cause and solve it? Thank you very much!

---

<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:** [18 December 2025 07:11 UTC](https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972/2 "2025-12-18T07:11:29Z")

</div>

Hi and welcome to the forum.

You may need to share more details.

What kind of machine are you using?  
How much memory?  
O/S?  
Which NR version?

How are you accessing the machine? Directly or remotely?

As you are new here, you are limited to how many posts you can make.  
So if you add any new information I would suggest you EDIT the original post and add it at the bottom.

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [18 December 2025 07:38 UTC](https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972/3 "2025-12-18T07:38:32Z")

</div>

Welcome to the forum.

It would be useful if you could also elaborate what 'system P' means ?

---

<div class="post-metadata">

**Author:** ![superaugus](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@superaugus](https://discourse.nodered.org/u/superaugus)\
**Post date:** [18 December 2025 08:49 UTC](https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972/4 "2025-12-18T08:49:41Z")

</div>

Sorry, "P" refers to the client that publishes messages to the MQTT topic.

---

<div class="post-metadata">

**Author:** ![superaugus](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@superaugus](https://discourse.nodered.org/u/superaugus)\
**Post date:** [18 December 2025 08:55 UTC](https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972/5 "2025-12-18T08:55:06Z")

</div>

1. My Node-RED version is 4.1.0.
2. It is deployed via Docker on a Ubuntu 22.04 virtual machine system.
3. The virtual machine configuration is as follows: 16 GB of RAM.
4. I access the editor directly via IP address:1880.

Thank you for your reply.

---

<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:** [18 December 2025 09:09 UTC](https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972/6 "2025-12-18T09:09:20Z")

</div>

Are you showing a dashboard that has charts?

---

<div class="post-metadata">

**Author:** ![superaugus](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@superaugus](https://discourse.nodered.org/u/superaugus)\
**Post date:** [19 December 2025 07:10 UTC](https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972/7 "2025-12-19T07:10:41Z")

</div>

> [@Colin](#):
>
> 您展示的是包含图表的仪表盘吗？

没有仪表盘，谢谢!!!!!

---

<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:** [19 December 2025 07:54 UTC](https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972/8 "2025-12-19T07:54:41Z")

</div>

Translation:  
No dashboard, thank you!!!!!

Run a system monitor and check whether something is using lots of CPU or you are running out of memory.

Is the browser running on the same machine as node-red? If it is on a different machine check on that machine too.

---

<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:** [19 March 2026 07:55 UTC](https://discourse.nodered.org/t/node-red-freezing-issue-after-running-for-a-period-of-time/99972/9 "2026-03-19T07:55:32Z")

</div>

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