# Large number of queued jobs

**URL:** https://meta.discourse.org/t/large-number-of-queued-jobs/65515
**Category:** Support
**Created:** [3 juli 2017 om 12:15 UTC](https://meta.discourse.org/t/large-number-of-queued-jobs/65515 "2017-07-03T12:15:05Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![leo.proctor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leo.proctor/32/216158_2.png) [@leo.proctor](https://meta.discourse.org/u/leo.proctor)
#### Post date: [3 juli 2017 om 12:15 UTC](https://meta.discourse.org/t/large-number-of-queued-jobs/65515/1 "2017-07-03T12:15:05Z")

</div>

I’m creating huge number of topics in parallel via api, which has slowed down our forum incredibly. I’ve noticed several jobs are queued in sidekiq. Is this could be the reason? what sidekiq jobs are required for posts creation? fyi I’ve disabled sending emails.

 ![](https://global.discourse-cdn.com/meta/original/3X/d/7/d7c058b86047f54bccc4197a1243dd312b5daa2f.png)

I’m using discourse default settings for no. of sidekiq workers and database connections. Any advice for how much should I increase of any resource?

```
              total used free shared buffers cached
Mem: 7983 6865 1118 278 60 3580
-/+ buffers/cache: 3224 4759
Swap: 0 0 0

```

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [3 juli 2017 om 13:17 UTC](https://meta.discourse.org/t/large-number-of-queued-jobs/65515/2 "2017-07-03T13:17:33Z")

</div>

This is normal – Discourse does some processing asynchronously, like sending notifications if necessary, or downloading remote images.

You can watch the progress by going to `/sidekiq/queues?poll=true` – you should see the queues and their (hopefully decreasing) sizes.

If you want to speed up this processing, consider raising the number of Sidekiq workers until allmost all RAM is used. 🙂

---

<div class="post-metadata">

### Author: ![leo.proctor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leo.proctor/32/216158_2.png) [@leo.proctor](https://meta.discourse.org/u/leo.proctor)
#### Post date: [3 juli 2017 om 13:27 UTC](https://meta.discourse.org/t/large-number-of-queued-jobs/65515/3 "2017-07-03T13:27:15Z")

</div>

Thanks for clarifying. Adding more sidekiq workers would be better.

`sending notifications if necessary`. How can I disable notifications and already queued notifications? I don’t want the users to be notified with bunch of notifications. I’ve already disabled emails by site settings.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [3 juli 2017 om 13:30 UTC](https://meta.discourse.org/t/large-number-of-queued-jobs/65515/4 "2017-07-03T13:30:08Z")

</div>

If the posts have already been created, it’s already too late to properly manage notifications – your users will be notified as if these posts had been created normally (on mention, if mailing list mode is enabled, …).

If you only want to prevent emails, disabling all outgoing mail should also work for already queued notifications, I think.

---

<div class="post-metadata">

### Author: ![leo.proctor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leo.proctor/32/216158_2.png) [@leo.proctor](https://meta.discourse.org/u/leo.proctor)
#### Post date: [3 juli 2017 om 13:34 UTC](https://meta.discourse.org/t/large-number-of-queued-jobs/65515/5 "2017-07-03T13:34:47Z")

</div>

I’ve disabled email notifications. I’m referring to desktop notifications, the one that appears on top right with avatar dropdown.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [3 juli 2017 om 13:36 UTC](https://meta.discourse.org/t/large-number-of-queued-jobs/65515/6 "2017-07-03T13:36:26Z")

</div>

Users should only get them if they are watching the category, and these should have been sent out already because they are not delayed like emails.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [8 juni 2024 om 12:44 UTC](https://meta.discourse.org/t/large-number-of-queued-jobs/65515/7 "2024-06-08T12:44:37Z")

</div>

This topic was automatically closed after 2532 days. New replies are no longer allowed.
