启动额外的 Sidekiq 工作进程

Hi!

Can someone explain to me how to spin up additional workers to clean up a sidekiq queue, please?

I have found an old topic but it does not work with current discourse distribution.

Thank you!

1 个赞

最简单的方法是使用以下配置重新构建 Discourse:

env:
   UNICORN_SIDEKIQS: 8

:warning: 这将启动 8 个 Sidekiq 进程

:red_circle: 不要在您的 app.yml 中添加两个 env 部分,只需将此行添加到现有部分中。

7 个赞

Thank you for your answer. I have resized my droplet to 16GB 6 CPU, and increased number of sidekiqs to 12. I see improvement but my top shows that only 3 are 5 of 5 busy:

Or is it the way it should look like?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.