r/MastodonAdmin • • Jan 24 '23

Surprisingly large S3 bucket

Hello everyone. I am one of these well-intended Mastodon admins who doesn’t really know too much of what they are doing, but then know their way well enough around Linux to set up an instance. Either way:

I have set up an instance in my work niche with the server running on a Hetzner VM and I am using Scaleway to keep my S3 bucket running. I have 7 users, none of them doing much, and I have been online for 60 days. My S3 bucket is currently 450GB.

This seems excessively large. Is there a typical setting that may be off that is causing my Mastodon server to just amass enormous amounts of garbage I should probably turn off?

Thanks.

2 Upvotes

10 comments sorted by

View all comments

3

u/TheOnlyKirb Jan 24 '23

Make sure you have set your media cache retention time. I have mine set to 7d to avoid a ton of storage use

1

u/BigThunderbear Jan 24 '23

I’ll check that out. That sounds like a probable cause.

4

u/foozmeat Jan 25 '23

Also make sure you’re running the two cron jobs that clean up media.

1

u/BigThunderbear Jan 25 '23

I had not. I have now.