Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
systemd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
steam
systemd
Commits
6cc87b22
Commit
6cc87b22
authored
Mar 29, 2015
by
Michael Biebl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
journald: Increase the SendBuffer of /dev/log to 8M
Patch cherry-picked from upstream.
parent
0df2572d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
0 deletions
+35
-0
debian/changelog
debian/changelog
+1
-0
debian/patches/journald-also-increase-the-SendBuffer-of-dev-log-to-.patch
...ournald-also-increase-the-SendBuffer-of-dev-log-to-.patch
+33
-0
debian/patches/series
debian/patches/series
+1
-0
No files found.
debian/changelog
View file @
6cc87b22
...
...
@@ -9,6 +9,7 @@ systemd (215-14) UNRELEASED; urgency=medium
display
-
manager
.
service
,
following
the
recent
change
in
sysv
-
generator
.
This
avoids
creating
references
to
a
no
longer
existing
x
-
display
-
manager
.
target
unit
.
*
Cherry
-
pick
upstream
fix
to
increase
the
SendBuffer
of
/
dev
/
log
to
8
M
.
[
Martin
Pitt
]
*
scope
:
Make
attachment
of
initial
PIDs
more
robust
.
Fixes
crash
with
...
...
debian/patches/journald-also-increase-the-SendBuffer-of-dev-log-to-.patch
0 → 100644
View file @
6cc87b22
From: Lennart Poettering <lennart@poettering.net>
Date: Wed, 13 Aug 2014 18:53:05 +0200
Subject: journald: also increase the SendBuffer of /dev/log to 8M
http://lists.freedesktop.org/archives/systemd-devel/2014-August/021825.html
(cherry picked from commit 5e8b767df6e18444d5aff2987b5e5603361ed528)
---
units/systemd-journald-dev-log.socket | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
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
debian/patches/series
View file @
6cc87b22
...
...
@@ -141,6 +141,7 @@ core-do-not-add-dependencies-to-self.patch
units-tmpfiles-setup-dev-allow-unsafe-file-creation-.patch
core-don-t-migrate-PIDs-for-units-that-may-contain-s.patch
scope-make-attachment-of-initial-PIDs-a-bit-more-rob.patch
journald-also-increase-the-SendBuffer-of-dev-log-to-.patch
## Debian specific patches:
Add-back-support-for-Debian-specific-config-files.patch
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment