What is Nostr?
Cadu Silva :oh_no_bubble: /
npub1v5m…skjc
2023-06-26 11:57:09
in reply to nevent1q…yw43

Cadu Silva :oh_no_bubble: on Nostr: npub1cmgqv…wrzd2 looking to avoid it, I'm using Backblaze as cheap media storage ...

npub1cmgqvz7xr07euwkum3mjghjqcu4d3k2fcyf6g4uwwe5ggnd6fetq0wrzd2 (npub1cmg…rzd2) looking to avoid it, I'm using Backblaze as cheap media storage offload.

Mastodon is crazy, a real mammoth, I was also getting no space left, and a reboot didn't solve. Other than the user's media, there's also the fediverse cache.

I reached more than 600 GB of it, but now I took some steps like Backblaze itself and setting prune crons everyday. Now everything is stable at 10 ~ 40 GB here in this small instance.

Here are the crons for you to tweak for your taste, as it may be aggressive:

-----
tootctl accounts prune
tootctl statuses remove --days 1
tootctl media remove --prune-profiles true --days 1 --concurrency 10
tootctl media remove --days 1 --concurrency 10
tootctl preview_cards remove --days 1 --concurrency 10
tootctl media remove-orphans
-----

Accounts that never interacted with your users will be pruned just like remote statuses, orphan media, preview cards and this stuff.
Author Public Key
npub1v5m088vg6p7895ncqw327uv8ljh3wzrphn4acgv29vp7npammumqptskjc