On 18 October 2013 15:26, Viktor Dukhovni <postfix-us...@dukhovni.org>wrote:
> On Fri, Oct 18, 2013 at 03:15:49PM +0100, Mark Berry wrote: > > > However at other times they can take 30 minutes or more to all go. > > Slow cleanup(8) processing or disk I/O contention. Another > possibility is a syslog daemon configured to do synchronous writes > for every log entry (stresses the disk and slows down syslog clients > such as pickup). > ahh Victor!! I hoping you've nailed it there with syslog. For dumb reasons we now have syslog logging mail into 4 locations. I'll see if I can turn some off. > Look for excessive header/body checks, or overly verbose logging. We've only got the 1 header check and 2 milters, but as throughput is fine in some cases I don't *think* its this > > Now in this instance the maildrop folder holds all the emails, but > running > > qshape maildrop I get alot of > > "Use of uninitialized value $qt in subtraction (-) at /usr/sbin/qshape > line > > 282." > > The qshape program does not support maildrop queue files. > > > The only thing that does seem to work is rebooting the entire server. > > Make sure logs are not written synchronously and the local socket > (/dev/log) is a datadgram not a stream socket > Will do > Finally, SMTP submission (at modest concurrency, typically ~10 > parallel connections are about optimal) is much more performant > that submission via sendmail(1). Ahh ok - didnt realise that. I'll bear it in mind for the rewrite :) > > -- > Viktor. > Very much obliged Viktor