Still really haven't found a solution to the ballooning mastodon system/accounts folder. It keeps getting larger and larger. It's rather ridiculous that it must have 8.5GB of avatars and header images cached for a single-user instance. I simply don't see that many people on my timeline. It's almost as if mastodon is a slow-growing cancer growing on my server's hard drive waiting to consume the entire thing.

The only thing I've found is to run the accounts cull tootctl command followed by deleting the folder and then running accounts --refresh all tootctl command and wait for it to download several gigabytes of images all over again in the hopes it won't be as large as it was before. I gained back 2GB that way. Yay, but it's still stupidly large for no reason whatsoever.

I picked a random avatar in the gargantuan pile of them on my server and did a query for it on the database and found out I haven't even seen the user in my feed since March of last year. Why is this still cached on my server?

Follow

I think I might see about querying the accounts table on the database for ones that haven't been seen by me in <insert time here> and then just removing them. If I ever encounter the user again it'd be gone. The cull command obviously doesn't catch them all because if it did I wouldn't have randomly picked that one I hadn't seen since last year.

Sign in to participate in the conversation
Mastodon

Ook!