home.social

#mastodonserveroperators — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #mastodonserveroperators, aggregated by home.social.

  1. While my Mastodon server moves its cache into object storage, I’m effectively browsing in text-only mode. Time to see how many people use #AltText.

    #MastodonServerOperators #MastodonAdmins #SelfHosted #sysadmin

  2. UPDATE: I solved the problem! The heap size was so low that Elasticsearch was crashing due to low memory. But, raising it made the OOM killer reap it.

    Instead, I used the oldest trick in the book. I have my hosting provider's 512 MB swap disk, but I added a 512 MB swap file, too. That got Elasticsearch to run and stay running.

    It'd still consume all of the CPU, until I added `CPUSchedulingPriority=idle` to the systemd service file. Now, it runs peacefully in the background!

    Let's go! :mastodon: :linux: #MastodonAdmins #MastodonServerOperators #SelfHosted

  3. Is there any way to run Mastodon on a single-core low-memory server? I set it up on a cheap $5/month host to try it out, and I like it.

    However, I’ve had to disable ElasticSearch, and it’s still prone to expected hangs (while performing maintenance) and unexpected hangs (like when a relay sends over a bunch of posts). It’s not bad, but it could be better.

    Can Mastodon (without Docker) be run on a single vCPU and 1 GB of memory? Or, do I need to stop being a cheapskate and fork over an extra $6/month for another core and more memory?

    #MastodonAdmins #MastodonServerOperators #selfhosted #sysadmin