systemd/0007-journald-also-increase-the-SendBuffer-of-dev-log-to-.patch

24 lines
883 B
Diff

Based on 5e8b767df6e18444d5aff2987b5e5603361ed528 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Wed, 13 Aug 2014 18:53:05 +0200
Subject: [PATCH] journald: also increase the SendBuffer of /dev/log to 8M
http://lists.freedesktop.org/archives/systemd-devel/2014-August/021825.html
---
units/systemd-journald.socket | 6 ++++++
1 file changed, 6 insertions(+)
--- units/systemd-journald.socket
+++ units/systemd-journald.socket 2014-08-22 14:31:11.022236471 +0000
@@ -23,4 +23,10 @@ ListenDatagram=/dev/log
SocketMode=0666
PassCredentials=yes
PassSecurity=yes
+
+# Increase both the send and receive buffer, so that things don't
+# block early. Note that journald internally uses the this socket both
+# for receiving syslog messages, and for forwarding them to any other
+# syslog, hence we bump both values.
ReceiveBuffer=8M
+SendBuffer=8M