A common issue for Mastodon instances is a backlogged sidekiq queue. This is easily to fix by splitting up Sidekiq service files.
The following approach assumes that your non-Docker Mastodon lives at /home/mastodon/live
.
Add all files to /etc/systemd/system/
.
Adjust the process nums after -c
in the ExecStart=
line, based on your server capacity.
Reload the deamon and enable all processes.
systemctl daemon-reload
systemctl enable --now mastodon-sidekiq-default-@1.service mastodon-sidekiq-push-@1.service mastodon-sidekiq-mailers-@1.service mastodon-sidekiq-pull-@1.service