On 18 October 2013 16:20, Wietse Venema <wie...@porcupine.org> wrote:
> Viktor Dukhovni: > > 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). > > > > Look for excessive header/body checks, or overly verbose logging. > > Postfix uses one single pickup daemon process for all local submissions. > Thus, if your cleanup daemon is slow (for example due to excessive > header or body checks) then that will slow down all local submissions. > > Yes I found out the single rule when I tried to increase it in master.cf:) As Viktor suggests I think its the pickup daemon thats waiting on syslog. My cleanup process is pretty simple with a single header check and 2 milters to pass through > As Victor notes, use parallel SMTP submission if you need speed. > > Actually it just occurs to ask, if any one knows of any php based parallel smtp submission tool. I am aware of PHPMailer and have just been reading code that makes me realise I can write my own wrapper for multiple parallel submissions. But just in case - any others? > Wietse > Very many thanks Wietse