slow sending speeds

Jamie Whittingham

Active Member
Hi guys,
I have a funky one here and I'm not sure which direction to turn in.
MW is installed on a kickass SSD for the application and the DB.

Here are my sending settings
https://www.dropbox.com/s/g85c43farvn9s9g/Screenshot 2016-12-04 02.31.53.png?dl=0

Here are my cron's for sending

* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=0 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=10 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=20 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=30 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=40 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=50 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=60 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=70 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=80 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=90 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=100 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=110 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=120 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=130 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=140 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=150 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=160 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=170 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=180 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=190 >/dev/null 2>&1

However it seems to be sending slowly. Im getting around 1 email every 2-3 seconds. If there anyway to have the 'SAME' campaign be handled faster / by multiple cron's to get the sending going out faster?

Im not sure at this point why it lagging so much. The receiving MTA is PowerMTA and other direct SMTP connection can send WAYYYY faster so its not the PowerMTA server thats the issue from what I can tell.

Any suggestions would be great - thanks MW members !!!
 
10K subscriber at once and 20 cron each min + no pcntl ...

Ask you some question . (first how many time need for one cron with 10 campaigns and 10K subscriber ...)
 
You think you can send per cron :
10 campaigns * 10 000 subscribers = send 100K email one by one per minute that's the base problem.

Use verbose mode to see how many time it need with your crazy setting.
 
Hi guys,
I have a funky one here and I'm not sure which direction to turn in.
MW is installed on a kickass SSD for the application and the DB.

Here are my sending settings
https://www.dropbox.com/s/g85c43farvn9s9g/Screenshot 2016-12-04 02.31.53.png?dl=0

Here are my cron's for sending

* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=0 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=10 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=20 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=30 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=40 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=50 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=60 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=70 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=80 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=90 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=100 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=110 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=120 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=130 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=140 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=150 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=160 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=170 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=180 >/dev/null 2>&1
* * * * * /usr/local/bin/php -q /home/srdash/public_html/apps/console/console.php send-campaigns --campaigns_type=regular --campaigns_limit=10 --campaigns_offset=190 >/dev/null 2>&1

However it seems to be sending slowly. Im getting around 1 email every 2-3 seconds. If there anyway to have the 'SAME' campaign be handled faster / by multiple cron's to get the sending going out faster?

Im not sure at this point why it lagging so much. The receiving MTA is PowerMTA and other direct SMTP connection can send WAYYYY faster so its not the PowerMTA server thats the issue from what I can tell.

Any suggestions would be great - thanks MW members !!!
wtih a very powerful machine and a lot of additional optimizations you can do the above, but there may be better ways...to achieve the 10 campaigns * 10 000 subscribers = send 100K/m ie 6mm/hr...into the queue of...pmta which can do 2.5mm/hr or momentum w/ 15mm+/hr ;)
 
Back
Top