Rajesh Mishra via Postfix-users:
> Hi Wietse, all,
>
> Closing the loop on this thread.
>
> After a lot of experiments and trial and error, we found the cause was
> OpenDKIM. When we took it out of the mail path and used an alternative
> for DKIM, the system got fast again.
>
> With OpenDKIM in the path, we saw 100+ smtpd processes. After replacing
> it, the count dropped to as low as 12-15 for the same traffic. The
> kernel and the other Postfix settings were unchanged.
>
> So Wietse was right: the accept-lock waits were a symptom, not the
> cause. The milter was adding time to each SMTP session, so each smtpd
> stayed busy longer. That drove up the number of processes during bursts
> and left many idle ones waiting on the lock afterward. My DNS and lock
> tracing was looking at the wrong layer.
>
> Thanks for pointing me toward per-client service time.
OpenKIM does DNS lookups. That is the only thing that
slows it down (its crypto usage should be fast unless
you are using 20th century hardware).
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]