Hey,
I haven’t had problems for the past 3 days on my OpenBalena installed on a DigitalOcean droplet with 2GB of RAM.
But the RAM usage has kept increasing since the server’s last shutdown.
This server is running OpenBalena, and a small cron job every 15 minutes. Nothing else. So I’m pretty sure it’s OpenBalena that’s slowly eating the RAM.
Here is a screenshot of HTOP. Is looks like the VPN is the most RAM hungry ?
Since it is running NodeJS, and NodeJS has a garbage collector, I thought it would increase for a time, then clear up suddenly, (like it did once, a few days ago (see chart below). But it hasn’t “cleared” ever since.
Below a screenshot of the DigitalOcean dashboard, last 7 days.
Do I need to worry about this ? Is something configured wrongly ?
I won’t want to have to keep increasing the amount of RAM on my server if it can run fine with less.
The other metrics are fine. The disk had a spike when the RAM got cleared by 40%, which might be normal.
Right now, I’ll restart the server to apply some updated, so it will go back to normal for a while. But I’m sure it will start to increase again.
Thank you for your answers.
EDIT: the sudden drop in Memory and increase in Disk must have been due to a restart. It looks about the same on the chart when I restarted it a minute ago.