this post was submitted on 13 Jul 2023
6 points (100.0% liked)

Self-hosting

136 readers
1 users here now

Hosting your own services. Preferably at home and on low-power or shared hardware.

Also check out:

founded 2 years ago
MODERATORS
 

I'm looking for a customizable, resource-efficient Mastodon fork. Bonfire? Rebased? Or go non-Ruby, like Pleroma (nah), Misskey Calckey, indeed, Lemmy (hui)? Any experiences?

This is part of an endeavour to host w/ a RaspberryPi & solar power. It will be a device to mess around, test, and share experiences.

Potential features:

  • tweaking network traffic in various ways
  • media options: off, auto compression, auto delete
  • monitoring server metrics, energy flow, sharing data through a bot
  • auto-off when battery low, sad emoji

Re-posting this from Mastodon w/ minor edits, because Fediverse and potential cross-interaction. I probably should have posted here first and then shared the link on Mastodon, but it's a Mastodon question, so I did it the other way around. Still not sure what's the best way to do this though.

you are viewing a single comment's thread
view the rest of the comments
[–] SJ_Zero@lemmy.fbxl.net 2 points 1 year ago

My first server had an outdated CPU, very little memory and a spinning hard drive, so that turned out to be a huge limitation for a lot of software. I needed stuff that hardly used any memory and also didn't have a lot of extra services running at once. When I started adding some services, lots of stuff started grinding to a halt.

On linux, the glances application is really useful. Besides just showing you what programs are using memory and CPU time, it also shows IOWait times and throughput so if you're being bottlenecked by something or other it's a lot easier to see.

There's also a service called tuned that does some automatic tuning, and if you're using postgres databases, there's another tool called pg_repack that'll pack your database while running. It maxes out your CPU and uses a lot of disk while running, but if you don't do something routinely then your postgresql database slowly gets sloppier and it'll start using more and more resources until your server appears to be useless.