Hi Steve,

Unfortunately fqrdns.pcre doesn't help with deliveries. ;)

On 7/26/2011 5:32 PM, Steve Jenkins wrote:

> We send a moderately decent amount of legitimate mail to our
> subscribers (about 400K opt-in newsletter members) using Postfix.
...
> But it still takes the better part of a day to send all the mails out.


On 7/26/2011 7:17 PM, Steve Jenkins wrote:

> The machine we're running on is a dual-proc 3Ghz machine, with 3GB of
> memory, and we've got .5GB free when all three SwiftMail processes are
> sending, and no swap being used:

Today, saying "dual-proc 3GHz" may not be an accurate description.
"Dual-proc" could mean a single socket server with a dual core CPU, as
well as a single socket hyperthreading CPU, or a dual socket server with
single or dual core CPUs.  How many total 3GHz real cores in this host?

SMTP mail is almost always IO bound at the queue, rarely CPU bound.
What hardware is backing the queue filesystem?  Local hardware RAID?
NFS server?  SAN LUN?  How many disk spindles in the stripe?

On 7/27/2011 9:58 AM, Steve Jenkins wrote:

> I'm gonna take a hard look at the PHP script running the mailer
> through SwiftMailer today. At first I was thinking disk IO, but CPU is
> seeming to be a strong culprit.

Even if you only have two 3GHz cores, unless there is a huge problem
with your PHP script, PHP binary, etc, these two CPU cores should be
able to easily handle 400k messages/day.  In fact with the proper
accompanying hardware, pipe, and Postfix, these CPUs may able to do 400K
deliveries in a single hour, 111 per second.  This rate would require
some decent spindle performance.

-- 
Stan

Reply via email to