Server Performance Tips? Recommended Mail Transfer Agent?

Solutions for other advanced phplisters

Server Performance Tips? Recommended Mail Transfer Agent?

Postby itweb » 3:59pm, Fri 14 Jul, 2006

Hi,

we are running a dedicated server with:
* Red Hat 9
* php
* mysql
* zend optimizer
* postfix mailer

It is a pentium 4 3.0ghz with 2gigs of ram and it is only used for phplist. We are only getting about 5,000 emails/hour which seems too slow right now.

Does anyone have performance or tuning tips for running phplist? Please put all your server tips here.
itweb
phpList newbie
 
Posts: 1
Joined: 3:56pm, Fri 14 Jul, 2006

Postby dwh » 12:02am, Sat 15 Jul, 2006

dwh
phpLister
 
Posts: 13
Joined: 3:22am, Sun 30 Apr, 2006

Postby H2B2 » 1:26am, Sat 15 Jul, 2006

Tweaking the throttle in microseconds (by Gram): http://www.phplist.com/forums/viewtopic.php?t=5444
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby darkdante » 3:55am, Wed 27 Jun, 2007

hi,

the link for the article by gram isn´t online, can someone please provide me with the right link?

thx,
dd
darkdante
phpLister
 
Posts: 8
Joined: 10:02am, Mon 16 Apr, 2007

Postby H2B2 » 5:21am, Wed 27 Jun, 2007

darkdante wrote:can someone please provide me with the right link?
It is the right link, but unfortunately the thread seems to have been deleted. A shame really, as it was a useful mod.

As an alternative you could use jotazzu's mod for throttling with fractional values. I'll paste his post here, just in case that thread gets deleted too:
jotazzu wrote:Add to .../phpList/config/config.php:
Code: Select all
# Throttle sending messages; indicates the number of seconds to pause
# between each message (fractions are allowed, e.g. 0.3)
define("MAILQUEUE_PROCESSING_THROTTLE",0.5);

Add to .../phpList/admin/processqueue.php
Find the following at about line 420:
Code: Select all
$status = Sql_query("update {$tables['message']} set processed = processed +1 where id = $messageid");

Insert after this line:
Code: Select all
usleep((MAILQUEUE_PROCESSING_THROTTLE)*1000000);
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Re: Server Performance Tips? Recommended Mail Transfer Agent

Postby karen66 » 7:04am, Fri 02 Sep, 2011

Thank you for proving an alternative, very helpful :wink:
karen66
phpList newbie
 
Posts: 1
Joined: 7:01am, Fri 02 Sep, 2011

Re: Server Performance Tips? Recommended Mail Transfer Agent

Postby Speetmail » 10:40am, Sun 11 Sep, 2011

a good way is to use SSD drives.
it speet up the mysql. turnoff phplistś stats (links / opens rate and so on) it slow the system now so munch.

postfix move the Spool over to the SSD to.

it will help perfomes so munch BUT. rember if you only use one ip to sent out on.
it can sent to fast and you will get block. so rember to set the limit in postfix.
but of you setup nomal it will run 25-50k pr hour.

i have limit my system to run 105.000k pr hour (in phplist) do not work
whe 860 ipś whe a dns loadbalance
but in postfix i have put in one mail to one ip and go on to the next smtp to it is complet hotmail /yahoo / gmail there is a delay on 0,6 sec each mx
so it not sending to fast.

i hop it can help you.
if you need more help just ask.
Speetmail
PL Nut
 
Posts: 28
Joined: 8:02am, Mon 29 Aug, 2011

Re: Server Performance Tips? Recommended Mail Transfer Agent

Postby CS2 » 2:53pm, Fri 30 Sep, 2011

PHPlist is poorly optimized for sending large volumes of email. The link tracking is one huge issue. Also, if you send emails containing large amounts of text, you will be slowed by the sendEmail function which uses a very large number of ereg* functions (which have been deprecated for years) where stripos() and str_ireplace() would be just as functional and orders of magnitude faster (I have changed this in my own installations and have tested the performance increase).
CS2
PL Master
 
Posts: 216
Joined: 2:20am, Wed 04 Feb, 2009


Return to Advanced Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest