On 3/30/22 20:37, Viktor Dukhovni wrote:
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.

Same with logging degrading performance of OpenLDAP servers.

AFAIK journald trys to make the log files kind of tamper-proof. But IMHO it's much better to get the logs off the system ASAP.

Also the problem with default logging config of some distros is that messages are written to disk multiple times.

=> Clean up all logging config on freshly installed system first before searching for performance issues.

Ciao, Michael.

Reply via email to