henkedk
Member
Hey guys & @twisted1919
So, another thread in regards to slow sendouts...
I've been testing a lot - first things first - HW:
4 core CPU(8 threads)
32 GB ram
SSD
100 Mbit uplink
Jessie, PHP5, Nginx 1.8.1, MySQL 5.5 <- yes, I know, old soft, but I have other stuff running on the server that still depend on old version.
External PMTA SMTP
MySQL performance is solid and optimized, even so the queries and structure of how MW plans campaigns/selects the recipients could be heavily optimized, this is not the bottleneck.
I ofc followed the KB for understanding sendout settings and their effect on the system, did some different testing with/without pcntl - at the very last, I disabled the cron and set 500 subscribers at once in the settings, disabled pcntl and ran the send-campaigns --verbose=1 manually.
This is where I was a bit surprised - MW only selects 100 subscribers and sends to those - not the 500 I have pushed in the settings. I checked the settings DB, it says 500 alright - reran the command a couple of times - same result, always just 100 selected and sent.
So - this ofc makes me wonder if anyone has an idea to what's going on with my install?
Each of the sent mail takes a little less than a second - which would be acceptable if the pcntl setup would be working solid - but it isn't - at least not for me. Sending 10k mails easily takes 45 minutes.
Other than when the cron runs once a minute and MW hits the MySQL heavy for some seconds, the server is steady at a low CPU usage, so it should be able to put through a lot more than it currently does.
Any ideas on what steps to take to optimize the speed?
So, another thread in regards to slow sendouts...
I've been testing a lot - first things first - HW:
4 core CPU(8 threads)
32 GB ram
SSD
100 Mbit uplink
Jessie, PHP5, Nginx 1.8.1, MySQL 5.5 <- yes, I know, old soft, but I have other stuff running on the server that still depend on old version.
External PMTA SMTP
MySQL performance is solid and optimized, even so the queries and structure of how MW plans campaigns/selects the recipients could be heavily optimized, this is not the bottleneck.
I ofc followed the KB for understanding sendout settings and their effect on the system, did some different testing with/without pcntl - at the very last, I disabled the cron and set 500 subscribers at once in the settings, disabled pcntl and ran the send-campaigns --verbose=1 manually.
This is where I was a bit surprised - MW only selects 100 subscribers and sends to those - not the 500 I have pushed in the settings. I checked the settings DB, it says 500 alright - reran the command a couple of times - same result, always just 100 selected and sent.
So - this ofc makes me wonder if anyone has an idea to what's going on with my install?
Each of the sent mail takes a little less than a second - which would be acceptable if the pcntl setup would be working solid - but it isn't - at least not for me. Sending 10k mails easily takes 45 minutes.
Other than when the cron runs once a minute and MW hits the MySQL heavy for some seconds, the server is steady at a low CPU usage, so it should be able to put through a lot more than it currently does.
Any ideas on what steps to take to optimize the speed?