I have a Pi 3B I have been using to run a few small servers (Plex, PiHole, and a small Calibre book server), and had been doing so with Raspbian. The Plex media files are stored on a separate NAS device, so it isn’t serving the files directly (so are the books, although I believe Calibre makes a copy of the books on import). Last week I upgraded Raspbian to Bullseye via command line and was having some quirks (I know, it wasn’t recommended to do it this way, but I figured if I would end up having to reinstall anyway I’d try the upgrade path), so I grabbed a separate card and gave Ubuntu Server 21.10 a try.
Initially things ran better, and I was more “at home” as I am more familiar with Ubuntu overall, but I am now finding that Ubuntu uses up so much more ram! Raspbian seemed to only use between 300 and 500 MB of ram to run all of the servers (Plex, PiHole, Calibre), and that was even with the desktop and VNC active.
On Ubuntu, I am running completely headless, no VNC server, no desktop installed, with the same Plex, PiHole, and Calibre servers running, but it is getting up to 600 to 900 mb at any given moment and will frequently lock up to the point where I can’t SSH in and need to hard reboot.
Is there a way to slim down Ubuntu Server 21.10 for the Pi, or should I either look at going back to Raspbian lite or just bite the bullet and swap my 3B for my only 4B (with 4GB ram)?
Right now the 4B is the one I tinker with, so I’d hate to lose it by making it the full-time server, although it might let me install Home Assistant alongside the other servers I have going and actually get more use out of a single server. I also run Motion eye off 2 Pi Zero Ws with cameras and a Pi Zero W 2 as the viewing server, but would like to put the W2 in a new project, so moving the viewing server over to the main server would be ideal, or just pipe the videos directly into Home Assistant.
Thoughts on slimming down Ubuntu, going back to Raspbian, or just going for the 4b?