User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
Also, while doing my monthly "look at the things to make sure the servers stay healthy", I realized my media cache had grown to like 500 gigs. I aggressively cut the max file size and max days to cache remote media, because it's full of a bunch of giant mp4 videos from someone. That should fix it. Though I wish I could kick off a MediaCleanupTask now, instead of waiting for midnight. Oh well. We aren't going to run out of space in the next 24 hours or anything.
2
1
2
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
Oh, I can! I always forget about swagger and the API.
curl -X 'POST' \
'
fed.interfree.ca/api/iceshrimp/admin/drive/prune-expired-media' \
-H 'accept:
/' \
-H 'Authorization: Bearer redacted' \
-d ''
And then it dies because I just asked it to delete hundreds of gigs of files and the poor queue is stuffed. But, like, it's doing the thing. Even if it can't return a result.
1
0
1
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
Because I know how much you all care about this ongoing situation: My media cache is now down to a much more reasonable 38 gigs. The entire world might be on fire, but at least you're now aware that a random Canadian guy you don't know fixed a problem that doesn't affect you on his single-person instance running software you don't use! Let the rejoicing commence.
1
0
3
0
User avatar
James H @quanin@allovertheplace.ca
1y
@fastfinge Is now a bad time to tell you that my multi-person instance on a software a lot of people use has a media cache of 90 GB? And I'm only aware of slightly more instances than you are.
1
0
1
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@quanin But did you have the max file size to cache set to 1 gb? And a cache time of 30 days? I cut that way down rofl.
2
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@quanin I didn't look that closely. But I think I was, like, caching people's peertube videos and federated podcasts and things rofl. Because I was chacing up to a gig per file.
1
0
0
0
User avatar
James H @quanin@allovertheplace.ca
1y
@fastfinge You absolutely were. And at that point on this network, even a 30 day cutoff would probably break you. How are you handling storage on that instance? Externally, like S3?
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@quanin Nope. Locally on a 1 TB SSD. With backups pulled by another server that lives in my basement. Backups go to a 20 TB spinning disc.
1
0
0
0

User avatar
James H @quanin@allovertheplace.ca
1y
@fastfinge Yeah, okay, so that's going to eventually be your bottleneck with your 1 GB max filesize configuration. Fortunately your instance isn't federated enough for that to matter but I mean if it keeps going...
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
1y
@quanin It was. I had 800 gigs of media before I changed it. I cut to like 300 megs and only cache for two days now. But I can still upload whatever the hell I want.
0
0
0
0