Mastodon Sidekiq 队列分离

salt
最后编辑于 May 2022 Mastodon/长毛象

Mastodon实例的一个常见问题是sidekiq队列的积压。这可以通过分割Sidekiq服务文件来解决。

下面的方法是假设你的 Mastodon 不是 Docker 运行,且安装在/home/mastodon/live

步骤

这里的4个.service文件都放入 /etc/systemd/system/.

根据你的服务器配置,调整ExecStart=行中`-c'后面的进程数。

重新加载deamon并启用所有进程。

systemctl daemon-reload
systemctl enable --now [email protected] [email protected] [email protected] [email protected]

参考

@stux

@bgme

评论

登录注册后才能评论。