# Spin up additional sidekiq workers

**URL:** https://meta.discourse.org/t/spin-up-additional-sidekiq-workers/81707
**Category:** Support
**Created:** [February 27, 2018, 8:23pm UTC](https://meta.discourse.org/t/spin-up-additional-sidekiq-workers/81707 "2018-02-27T20:23:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Tomasz136472](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomasz136472/32/85114_2.png) [@Tomasz136472](https://meta.discourse.org/u/Tomasz136472)
#### Post date: [February 27, 2018, 8:23pm UTC](https://meta.discourse.org/t/spin-up-additional-sidekiq-workers/81707/1 "2018-02-27T20:23:07Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 28, 2018, 2:12am UTC](https://meta.discourse.org/t/spin-up-additional-sidekiq-workers/81707/2 "2018-02-28T02:12:14Z")

</div>

Simplest way is rebuilding Discourse with

```plaintext
env:
   UNICORN_SIDEKIQS: 8 

```

⚠ this will start 8 sidekiqs

🔴 Don’t add 2 `env` sections to your `app.yml` just add the line to existing section.

---

<div class="post-metadata">

### Author: ![Tomasz136472](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomasz136472/32/85114_2.png) [@Tomasz136472](https://meta.discourse.org/u/Tomasz136472)
#### Post date: [February 28, 2018, 4:43pm UTC](https://meta.discourse.org/t/spin-up-additional-sidekiq-workers/81707/3 "2018-02-28T16:43:36Z")

</div>

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:

 ![28](https://global.discourse-cdn.com/meta/original/3X/6/6/66edbfb468fff7f87343a62021637a8b67ec140a.png)

Or is it the way it should look like?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 18, 2020, 5:50am UTC](https://meta.discourse.org/t/spin-up-additional-sidekiq-workers/81707/4 "2020-06-18T05:50:18Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 18, 2020, 5:50am UTC](https://meta.discourse.org/t/spin-up-additional-sidekiq-workers/81707/5 "2020-07-18T05:50:19Z")

</div>

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