Do I need to buy a more powerful device?
Yes? You seem to have answered that yourself.
Run "free" and see how much memory is being consumed. And "top" as well (hitting 'm' will sorry by memory usage).
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Do I need to buy a more powerful device?
Yes? You seem to have answered that yourself.
Run "free" and see how much memory is being consumed. And "top" as well (hitting 'm' will sorry by memory usage).
Just checked on my pi4 with 4GB of ram that has been running beautifully as a NAS with 2x10TB USB drives mirrored, *arr suite, and Jellyfin for a couple of years, only 250mb of RAM free. I’m glad I splurged and got the 4gb model.
2gb memory is not nearly enough.
While not untrue, it’s not entirely accurate. My entire arr stack runs on a 3b+ with just a gig of ram, with some still left over. It all depends on what, and how you run it
Agree! I had arr stack + nextcloud on rpi4 4GB and it was using bit less than 3GB after restart, but after some time it would hit 4GB and start using SWAP and I would have issue just like OP. Solved that by moving server to DIY PC with 8 GB, but then I added many more services and had to upgrade to 16 GB. Sitting at 4+GB free RAM all the time while using 40+ services
OK, I am trying to setup a swap partition right now to see if that will improve performance.
You can also just make a swap file, you won't have to make partition that way
You don’t want a swap file on the SD card as excessive writes will kill it rather quickly.
So does a swap partition. I just meant that's an option as an alternative to it. But now that I think about it, not enough RAM wouldn't cause performance issues anyway, it would just cause random applications to stop working.
File and partition get just as many writes. In fact files are better because you can create a second file on a different location and move the swap more easily to try to keep the writes spread across the card.
I saw that it uses about 1,3 GB of memory. This means another 700MB remain. Because of this, I don't think the cause is the memory. Also, I forgot to mention that I am also running qbittorrent for downloading, gluetun for VPN, and jellyfin and jellyseerr.
What’s your cooling solution?
Could it be throttling the cpu?
I have a heatsink above CPU, RAM, and Wi-Fi card. I think I should get a fan.
Begin with listing what exactly you’re trying to run. I am running this myself, on hardware that’s worse than yours. You have to make choices more carefully