Node-RED is suddenly very slow

node,js: version 20.x

Node-Red Stack: 4.1

FlowFuse:2.20

Running on Windows 11

FlowFuse has suddenly become very slow. I haven’t made any changes or added new widgets. I’m experiencing timeouts, and Chrome refreshes and restarts my session. This happens quite often, especially when I use the debug. I did a major cleanup, removing widgets I wasn’t using, unnecessary tabs, and checking if something in my code could be causing this. In fact, when I click a button, it can take up to 30 seconds just to trigger the click action.

I was thinking of reinstalling Node.js 18.x, clearing my FlowForge folder, but without removing the var folder. I have made several snapshots and a full backup copy of C:\flowforge just in case.

My question: Can I leave the current folders in C:\flowforge in place and do an upgrade-type installation, or to be certain I have a fresh install, should I delete everything and then import the latest snapshot once the fresh install is complete? Naturally, I will install my currently used components in the palette before importing the latest snapshot. Or do you have an idea if a simpler solution is available?

Thank you.

Frequent causes of Node-red grinding to a halt are loops, either looped back wires on the desktop or loops through MQTT in and out nodes.

If you have a dashboard with charts, how many points are charted? There is no point charting more points than the chart is pixels wide.

You could try and track down the problem by disabling a proportion of the flows and seeing if it recurs.

How did you install FlowFuse in the first place?

Are you using docker or localfs?

When you say "FlowFuse has suddenly become very slow" Are you talking about a specific Node-RED runtime/Node-RED Editor or the FlowFuse application?

Is your Computer "revving up" - what is the Windows Taskmanager showing if you look at the details tab and sort by CPU usage?

Hi Steve,

Yes I am using the localFS.

FlowFuse is running normaly,

I am speaking when I am working in the Node-Red editor and the dashboard (2.0).

I am not using any Dashboard 1.0 widgets.

The processor is runing between 9 and 15% , but the memory is around 76%. on my 16 gigs. I will look at it, because I don’t have a lot of processus running.

Best

Yves

ok, it would seem this is not an issue with FlowFuse per-se but rather something you have done with your flows in a node-red instance.

I will update the title and move this into General so more folk will see/respond to your issue.

PS, to update FlowFuse on localfs, you can se instructions here: Local Install • FlowFuse Docs

Thanks Steve, I will do the update, maybe it will help .. I will do an extra look to my flow, I may have something very obvious I am not seeing …

Best

Yves

Hi Steve,
I realized I had added a loop that was sometimes running in the background. Sorry if that caused any disturbance, and thank you so much for your support with this fantastic product!

Best

Yves

2 Likes