On Wed, Mar 30, 2022 at 07:10:09PM +0200, Emmanuel Fusté wrote:

> ForwardToSyslog and other similar journald options activate raw message 
> forwarding before any journald processing. This is pure socket to socket 
> forwarding without any processing.

Well, "without any processing" is not accurate, even just copying the
messages requires *some* processing, and at high message rates
systemd-journald has been observed to degrade performance of e.g. a KDC
logging thousands of authentication events/sec.

Perhaps a realistic Postfix deployment is not quite as busy as a KDC,
but it CPU congestion with systemd-journald is possible.

> I've used to use rsyslog on top of journald forwarding since years on 
> Ubuntu on low end and high end machines with very high smtp/postfix 
> workloads on both without any trouble.

> Systemd/journald is far from perfect, but clearly not the culprit here.

It almost certainly was in the OP's case.

-- 
    Viktor.

Reply via email to