# Mutliple spools / Cronjob setting to avoid clogging of queue

**URL:** <https://forum.mautic.org/t/mutliple-spools-cronjob-setting-to-avoid-clogging-of-queue/28188>\
**Category:** Product Support\
**Created:** [May 31, 2023, 9:58am UTC](https://forum.mautic.org/t/mutliple-spools-cronjob-setting-to-avoid-clogging-of-queue/28188 "2023-05-31T09:58:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steffenabel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/steffenabel/32/9907_2.png) [@steffenabel](https://forum.mautic.org/u/steffenabel)\
**Post date:** [May 31, 2023, 9:58am UTC](https://forum.mautic.org/t/mutliple-spools-cronjob-setting-to-avoid-clogging-of-queue/28188/1 "2023-05-31T09:58:29Z")

</div>

**Your software**  
My Mautic version is: 4.4.7  
My PHP version is: 8.0.28  
My Database type and version is: mariadb-10.6

**Your problem**  
I’m sending transactional mails and newsletters via mautic. The newsletter list contains ~40k contacts and the sending rate is ~500 emails per minute at the moment. If I’m sending the newsletter all at once, new users would not get their registration mail for at least an hour if the newsletter is clogging the queue.

As I didn’t find a possibility to setup multiple spoolers the solution I thought about is this:

- set broadcast:send to a limit lower than the sending rate eg. 400
- this means there are only 400 newsletter mails each minute and there is some space for transactional mails

Does this make sense? Or is there a better way?

Thank you so much!  
Steffen

---

<div class="post-metadata">

**Author:** ![IonutOjicaDe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ionutojicade/32/7383_2.png) [@IonutOjicaDe](https://forum.mautic.org/u/IonutOjicaDe)\
**Post date:** [May 31, 2023, 6:28pm UTC](https://forum.mautic.org/t/mutliple-spools-cronjob-setting-to-avoid-clogging-of-queue/28188/2 "2023-05-31T18:28:35Z")

</div>

I am also interested in the answer.  
I assume that it will work as you describe, because the other emails (registration and so on) are created by another cron job and not by `broadcast:send` . And these will get sent if the `emails:send` did not reached the limit.  
But I am not sure how it really works.  
You can test it: simply subscribe to yourself during that time and see what happens. I would be glad to know it also.

---

<div class="post-metadata">

**Author:** ![steffenabel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/steffenabel/32/9907_2.png) [@steffenabel](https://forum.mautic.org/u/steffenabel)\
**Post date:** [June 5, 2023, 4:06pm UTC](https://forum.mautic.org/t/mutliple-spools-cronjob-setting-to-avoid-clogging-of-queue/28188/3 "2023-06-05T16:06:41Z")

</div>

Good idea to just test it. It seems to work the way I described above. So just set the broadcast rate lower than the sending rate to leave some room for other mails works fine for us. Thank you for the idea!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [June 9, 2023, 3:30pm UTC](https://forum.mautic.org/t/mutliple-spools-cronjob-setting-to-avoid-clogging-of-queue/28188/4 "2023-06-09T15:30:15Z")

</div>

Closed on June 9, 2023, 3:30pm UTC

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