Page 1 of 1

PHPList faster queue

PostPosted: 8:51am, Fri 15 Nov, 2013
by iamjag
Hello.

I have migrated an instalattion of PHPList to a new infrastructure.
My cliente hope to be able to send more messages/hour than in the old one.

We are using smtp.mandrillapp.com to ensure the SMTP Server is not a bottleneck.
We have enough bandwith and enough computational power (virtual machine with 8 AMD processors and 8GB RAM), but we have not been able to send more than 4500 messages/hour.

Since my server has a average load lower than 0.5 while it is processing the queue, I think the process is not able to generate them quicker since it is not designed to use multithread o multicore capabilities. Our messages are all the same but they are based on templates.

My cron job runs the queue processor every minute (if it is not already running) and we have the next configuration.

define("MAILQUEUE_BATCH_SIZE",4500);
define("MAILQUEUE_BATCH_PERIOD",60);
define('MAILQUEUE_THROTTLE',0);
define('MAILQUEUE_AUTOTHROTTLE',0);

define('USE_DOMAIN_THROTTLE',0);
define('DOMAIN_BATCH_SIZE',50);
define('DOMAIN_BATCH_PERIOD',60);
define('DOMAIN_AUTO_THROTTLE',0);


I woul like to ask if there is any way to make my queue processing faster. One solution would be to run concurrent process working at the same time or in different machines, but I think PHPList is not ready for that, is it?

Re: PHPList faster queue

PostPosted: 9:20am, Fri 15 Nov, 2013
by Dragonrider
I doubt this will help, but what is the mail limit imposed by mandrillapp.com? You won't be able to send more than that whatever it is.

Re: PHPList faster queue

PostPosted: 8:16am, Mon 18 Nov, 2013
by iamjag
I think that's not the problem.

My limit is over 25.000 messages/hour.

Re: PHPList faster queue

PostPosted: 8:58am, Mon 18 Nov, 2013
by Dragonrider
iamjag wrote:I think that's not the problem.

My limit is over 25.000 messages/hour.


Your settings work out at 270,000 per hour so I'd say you are overloading things a bit.

4,500 X 60 (seconds) = 270,000 per hour
whereas:
416 X 60 (seconds) = 24,960 per hour

Re: PHPList faster queue

PostPosted: 11:26am, Tue 19 Nov, 2013
by iamjag
I would be overloading if my server would be able to send 4500 messages per minute, but it takes 50minutes to send 4500 messages, so the MAILQUEUE_BATCH_PERIOD is not very relevant.

It is similar to put the MAILQUEUE_BATCH_SIZE to 0, but this way, you can have some results from the command line every hour.

The real problem is that my PHPList installation is not able to generate more than 5000 messages per hour an put it to my SMTP. The configuration is OK and the not the network neither the server reach their limits.

Anyway, thanks for your comments.