[systemd-commits] units/systemd-journald-dev-log.socket
Lennart Poettering
lennart at kemper.freedesktop.org
Wed Aug 13 09:55:53 PDT 2014
units/systemd-journald-dev-log.socket | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
New commits:
commit 5e8b767df6e18444d5aff2987b5e5603361ed528
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Aug 13 18:53:05 2014 +0200
journald: also increase the SendBuffer of /dev/log to 8M
http://lists.freedesktop.org/archives/systemd-devel/2014-August/021825.html
diff --git a/units/systemd-journald-dev-log.socket b/units/systemd-journald-dev-log.socket
index c01b310..ffd44bb 100644
--- a/units/systemd-journald-dev-log.socket
+++ b/units/systemd-journald-dev-log.socket
@@ -17,10 +17,16 @@ Before=sockets.target
IgnoreOnIsolate=yes
[Socket]
+Service=systemd-journald.service
ListenDatagram=/run/systemd/journal/dev-log
Symlinks=/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
-Service=systemd-journald.service
+SendBuffer=8M
More information about the systemd-commits
mailing list