PHPList faster queue

Once you've installed phpList Version 2... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation. This is for Version 2 of phpList (the orange one).

PHPList faster queue

Postby iamjag » 8:51am, Fri 15 Nov, 2013

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?
iamjag
phpList newbie
 
Posts: 3
Joined: 2:29pm, Thu 14 Nov, 2013

Re: PHPList faster queue

Postby Dragonrider » 9:20am, Fri 15 Nov, 2013

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.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: PHPList faster queue

Postby iamjag » 8:16am, Mon 18 Nov, 2013

I think that's not the problem.

My limit is over 25.000 messages/hour.
iamjag
phpList newbie
 
Posts: 3
Joined: 2:29pm, Thu 14 Nov, 2013

Re: PHPList faster queue

Postby Dragonrider » 8:58am, Mon 18 Nov, 2013

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
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: PHPList faster queue

Postby iamjag » 11:26am, Tue 19 Nov, 2013

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.
iamjag
phpList newbie
 
Posts: 3
Joined: 2:29pm, Thu 14 Nov, 2013


Return to Question & Problems - after installing

Who is online

Users browsing this forum: No registered users and 4 guests