# How to Determine the Optimal Number of Messenger Workers in Mautic for Maximum SMTP Sending Speed Without Overloading the Server?

**URL:** <https://forum.mautic.org/t/how-to-determine-the-optimal-number-of-messenger-workers-in-mautic-for-maximum-smtp-sending-speed-without-overloading-the-server/37393>\
**Category:** Mautic 5 Install/Upgrade Support\
**Tags:** community, discussion, development, email\
**Created:** [February 18, 2026, 1:41pm UTC](https://forum.mautic.org/t/how-to-determine-the-optimal-number-of-messenger-workers-in-mautic-for-maximum-smtp-sending-speed-without-overloading-the-server/37393 "2026-02-18T13:41:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gandhi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gandhi/32/13476_2.png) [@gandhi](https://forum.mautic.org/u/gandhi)\
**Post date:** [February 18, 2026, 1:41pm UTC](https://forum.mautic.org/t/how-to-determine-the-optimal-number-of-messenger-workers-in-mautic-for-maximum-smtp-sending-speed-without-overloading-the-server/37393/1 "2026-02-18T13:41:00Z")

</div>

**Your software**  
My Mautic version is: 5.0.4  
My PHP version is: 8.1

**Your problem**  
My problem is:To increase SMTP email sending speed, we configured the queue system and started multiple Messenger workers using the following command:  
sudo -u www-data bash -c ‘cd /var/www/html/mautic && for i in {1..5}; do php bin/console messenger:consume -vv email --memory-limit=512M --no-reset \> var/logs/worker\_$i.log 2\>&1 & done’

This runs 5 parallel workers, which significantly improves sending speed.

However, the main question is:

**How do we determine the maximum number of workers we can safely run without overloading the server or SMTP provider?**

Steps I have tried to fix the problem:
