Mastodon requires 3 separate processes, and one, sidekiq, leaks memory like a cheap diaper leaks piss. It slowly consumes storage space because there's no mechanism built in to cull cached avatars and header images of every single person who sees you on Mastodon. To solve these I wrote two cron jobs: one to restart the sidekiq process every 12 hours, and another a hackish attempt to delete unseen month old images. This shouldn't be needed.