Menu Home

Setting up Redis 8 on Ubuntu 26.04 for Mastodon

Notice: Mastodon requires two kinds of cache. Sidekiq queues and home feeds, and the rails cache.Large instances should consider running two or even separate Redis servers. Working from https://docs.joinmastodon.org/admin/scaling/ Mastodon Server: maxmemory-policy: noeviction and appendonly yes, appendfsync everysec because we want to save the state.Cache Server: `maxmemory-policy: allkeys-lru and save […]

Mastodon S3 Timeout and cascading failure!

TLDR: CHECKING YOUR WEB/PUMA LOGS AND SIDEKIQ DEAD QUEUE FOR S3 ReadTimeout ERRORS FOR FUN AND PROFIT!!! I recently started investigating the high bandwidth being used by my Mastodon instance, and noticed a lot of errors (similar to below) showing failures related to uploading files to my S3 provider Wasabi. […]