RAM Usage NodeRED EDGE Gateway

Hi,

Both of our gateways seem to run at 80-85% Ram. They are slow and harder to access than they were before. We have about 25 transmitters linked to gateway 1 and about 17 transmitters linked to gateway 2 (lite). all are transmitting every 30 seconds. are we just approaching the max of what these gateways can handle or is there something we are missing. Other than optimizing our flows, I am not sure what we can do to speed them up.

Can go into the command line for one or both of the gateways and send this command:

top -o %MEM

This will tell me what is using the memory on the gateway.

After that can you use the command:

pm2 restart all

This will restart node-red and clear all memory from it. Check the RAM usage at that point and try the top command again to see if this improves anything.

Finally try restarting the gateway through either removing power, the Configuration UI, or the command sudo reboot and see if the memory improves at that point.

We have an article on accessing the terminal of the gateway at: SSH into your IoT Enterprise Gateway - NCD.io

this gateway was at 65% after pm2 restart all. regular restart never made a difference. the other gateway cannot be reached, connection times out.