this post was submitted on 11 Jul 2023
106 points (99.1% liked)
Fediverse
28351 readers
688 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@bionicspud, I've been thinking of doing the same thing for the same reasons. How much storage does your instance use? I haven't looked in to how asset caching works yet. It seems like it could easily get out of hand.
Running the Instance for 3 Days now. Added multiple new Subs and cleared pictrs (but not Postgres) folder yesterday. My instance is mostly used by me.
87M ./pictrs
335M ./postgres
Edit: Small update. Original Post was posted ~9AM. Now its ~11AM
112M ./pictrs
351M ./postgres
As far as i know, images shouldn't be stored locally if not posted from the local instance. This looks to be a proxing problem as far as i understood.
what happens when you clear pictrs? you mean just deleting the folder? does that break stuff?
for comparison, my instance is only communities and no users (FAQ here: https://programming.dev/post/442419 )
it's about 5 days old but not much activity
the latest backup is only 7.4 MB zipped, I use this backup script
like I said though, not much activity
and here's how my backup zip files have grown in size over time
Tested deleting the pictrs/files/001 which was at that point at ~150mb. And yes, it broke stuff. For example my Avatar and a local test community logo. To "purge" it, something would need to compare it to the database i guess. My size probably comes from /c/memes 😅
I thought remote images aren't cached localy 🤔