And I don't think there is any going back.
I did backup the files, but alas they were in the same directory and so NODE-RED wiped the backups I made.
I've lost all my sub-flows......
All my tabs (there was about 30 of them).
I am seeing this error coming up a bit these days from other people too.
I am on a NUC - intel i7 I think. It has power. It isn't a RasPi.
It has memory.
Some of the tabs are "disabled" and some aren't. (That's life)
This also ties in with the machine's load.
I'm using FF (on all machines) but the RasPies are all headless.
Now and then when I am editing flows on ANY machine, it just locks up.
I have a "performance" tab and it does some wild stuff.
I'll get to that later. (maybe a later post).
I saw that NR had made .backup files of my stuff.
I coppied them to a file name -BACKUP to make it even more different.
I won't do anything with Node-Red just now.
I've also disabled it
sudo systemctl disable nodered.service
On an off chance: Can I get those files back?
The problem/s that are/were happening.
When modifying flows on ANY machine, it would just lock up (I know I have said this, but to keep things altogether).
The performance tab would show loads ranging from 20 --> thousands (sometimes) but maybe 70's 80's.
Fluctuations all over the place.
After some time it would settle down and things would be normal.
Two things I have learnt:
1 - if I open
top (hold on!) and look I would see the CPU load at (or greater than) 100%.
There would be Node-red listed and now and then
web-services (or something like that) listed showing massive load.
2 - it wasn't always on the machine of interest. Though mostly I think it was.
(Yeah, this isn't helping me really)
I have a few foreign nodes installed as they seem to help me get things done.
No offence to anyone for what I am about to say. It is my best recollection of things.
WAY way back, I added
Shortly there after that machine would lock up as per what is happening now.
I have a few more nodes like that and I am slightly suspicious there is something going on with them.
Though I did mention it at the time and tried to give as much information, I could never prove anything.
Another thing I learnt was this
It was really stumping me.
Yes, I had some fancy dashboards, but it just didn't feel right.
The other day I found the problem.
web-services hogging 99% of the CPU load, and there were multiple lines of it too!
That is/was a loop in a flow.
Luckily I found it fairly quickly with help of my other thread about message counting and frequency.
I found the problem.
The frequency of message parsing was > 600 per second.
I would try to do things and NR was just dead in the water.
After several things, I stated it in
--safe mode and added the code to catch that error.
So: where's all this going?
That loop generated these
web-services errors and all that.
Though I am not exactly seeing that now, I am wondering if all the flows I have are spiking the load of NR at times and causing this lag?
I'd better post this as I am really stuck and would prefer to get things back to normal.
(Yeah, back up. I did. I just didn't realise NR wiped it's own directory as much as it does.)
If you are still reading:
I would like to get my old files back if at all possible.
Sorry if I left this a bit in the air. I wanted to get it out there ASAP to get help, but also wanted to share what I have recently seen. I'll get back to my theories when I calm down more than I am just now.