How to increase Mailiwizz Email Sending Speed limit per hours?

akatne

New Member
We're have deployed Mailiwizz on the VPS server((4 vCPU Cores, 8GB ram, 200GB SSD) ) and are using multiple PowerMTA SMTP servers.
We're facing some issues related to Email sending speed on Mailwizz. Right now it's around 1800 emails/hour. That's very low, as we have sent a huge amount of campaigns and it takes days to complete. I upgraded my application to the latest version 2.0.28.
I have read your blogs post (Debug send-campaigns command, Performance improvements) But I couldn't able figure out the issue.

I ran this command(
/usr/bin/php -q /var/www/html/apps/console/console.php send-campaigns --verbose=1)
and it gives me these resutls:

[2021-09-29 12:21:29] – Starting the work for this batch…
[2021-09-29 12:21:29] – Loading 5 campaigns, starting with offset 0…
2021-09-29 12:21:29] – No campaign found, stopping.
[2021-09-29 12:21:29] – This cycle completed in 0.01402 seconds and used 2 MB of memory!
[2021-09-29 12:21:29] – CPU usage in last minute: 0.04, in last 5 minutes: 0.03, in last 15 minutes: 0.00!


Can you please help me to resolve the issue of email sending speed? I'll really appreciate it.
 

akatne

New Member
I ran another test campaign to 15 contacts and meanwhile execute this command(/usr/bin/php -q /var/www/html/apps/console/console.php send-campaigns --verbose=1)) in cmd.

Here are the results:

Communication with the delivery server took: 1.79019
Logging delivery took: 0.00185
Parsed the tracking links from the HTML email content in 0.00070 seconds.
Logging delivery took: 0.00217
[2021-09-29 16:20:41] - Done processing 15 subscribers!
[2021-09-29 16:20:41] - Campaign has been marked as sent!
[2021-09-29 16:20:41] - This cycle completed in 28.06556 seconds and used 10 MB of memory!
[2021-09-29 16:20:41] - CPU usage in last minute: 0.31, in last 5 minutes: 0.17, in last 15 minutes: 0.06!

Mailwizz is taking 1.866sec to send 1 email. So, if we send an emails campaign to 62k contacts, it will take around 32 hours to complete. Its too much time!

Can you please help us to minimize the time?
Please review the results!
 
Last edited:

twisted1919

Administrator
Staff member
See how it says:
Communication with the delivery server took: 1.79019
In order for MailWizz to take the email from the server where it is hosted and send it to your smtp server, it takes almost 2 seconds. Here's your bottleneck.

This can happen for a few reasons, as follows:
1. The smtp server is way too far from the MailWizz server, thus the latency between the two is high, resulting in poor connection and transfer of data.
2. Your email message is large, and it takes time to transfer it from MailWizz to your SMTP server.
3. Your SMTP server is overloaded, it cannot accept emails at a faster pace.

None of the above reasons is controlled by MailWizz, it's just your current configuration and this is the result.
There's not much you can try, my advice is to try a different delivery server which is much closer to where your MailWizz server is.
My advice is to also not have large email messages, because transferring them takes time.

Best of luck
 

akatne

New Member
Thanks for the detailed reply.

1. How we can reduce the latency between two servers.?
When you say" delivery servers which is much closer to where your MailWizz server", whats it's mean?
 

twisted1919

Administrator
Staff member
whats it's mean?
I mean physically close together. If your MailWizz server is in Europe and your SMTP server is in South America, you can see how the data has to travel a long distance which takes time.
You should aim to have your MailWizz server and your SMTP server in same data center if possible, if not, at least in same country.
 
Top