I have a tiny little instance that's being absolutely overwhelmed after I connected it to other communities. I've run a script to give me something like 40K posts to toss off to the purge API, but somehow my disk usage is expanding while this purge is going on. My disk usage is being caused by all the media, but I'm sure how to nuke media from outside of the instance efficiently. The API calls are kind of slow. I'd rather just issue a direct command to delete the media from existence, but I haven't been able to find where the delete tokens for posts are stored to just rapid fire issue the command from within my server (and thus not have to stagger my calls to not be rate limited)
Can someone help me? I feel like there's something pretty simple I'm overlooking here.
EDIT 1:
Running some diagnostics, I learned that 10GB of my disk is media and 10GB is the activity table (Thanks @King@lemm.ee for pointing that out to me)
I am still left wondering how to purge the 10GB of worthless media in a way that doesn't leave everything corrupted. Of course I can just navigate to where it is on disk and just deleted, but this feels like a bad idea. My attempt to just run purge API calls has been stymied by rate limiting. Congrats to lemmy for that, but really sucks for me who needs to delete a lot of files.
Facts are how you build up everything else. It pretty hard to reason about complex math if you don't understand how to count to 100. It's pretty hard to reason about how societies move in waves and cycles if you don't memorize something about history.
I think people don't understand that you don't just start doing abstract work. You build it a bunch of facts that you memorize and then you can start building higher level things like patterns and abstractions.
I know this from trying to teach my child basic concepts like what money is. What exactly is a day. How magnet work. The entire concept of estimation. These are trivial to adults, but these are hard won concepts that were build from concrete ideas for my child.
We know this is necessary because of cultures that are missing whole concepts like particular colors. The idea of right and left. So on.