journald: also increase the SendBuffer of /dev/log to 8M

http://lists.freedesktop.org/archives/systemd-devel/2014-August/021825.html
This commit is contained in:
Lennart Poettering 2014-08-13 18:53:05 +02:00
parent 5caeb7d685
commit 5e8b767df6
Notes: Lennart Poettering 2014-08-19 20:51:37 +02:00
Backport: performance

View file

@ -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