summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2018-04-05 13:06:59 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-04-05 13:06:59 +0200
commit3de8ff5a69d0d30f099799ae661c0b8e337ae528 (patch)
treea9b53d012be29242140c6f38f13d8b9cc5d2e887 /src/journal
parent6064de2de8734401669b787b68ebbf858d452cec (diff)
downloadsystemd-3de8ff5a69d0d30f099799ae661c0b8e337ae528.tar.gz
journald: bump rate limits (#8660)
Apparently, it is quite common to hit a problem, where systemd-journald would drop messages because service is logging too fast.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journald-server.c2
-rw-r--r--src/journal/journald.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
index a5f1315327..1858936c01 100644
--- a/src/journal/journald-server.c
+++ b/src/journal/journald-server.c
@@ -79,7 +79,7 @@
#define DEFAULT_SYNC_INTERVAL_USEC (5*USEC_PER_MINUTE)
#define DEFAULT_RATE_LIMIT_INTERVAL (30*USEC_PER_SEC)
-#define DEFAULT_RATE_LIMIT_BURST 1000
+#define DEFAULT_RATE_LIMIT_BURST 10000
#define DEFAULT_MAX_FILE_USEC USEC_PER_MONTH
#define RECHECK_SPACE_USEC (30*USEC_PER_SEC)
diff --git a/src/journal/journald.conf b/src/journal/journald.conf
index 03fce40e90..94d5c678aa 100644
--- a/src/journal/journald.conf
+++ b/src/journal/journald.conf
@@ -18,7 +18,7 @@
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitIntervalSec=30s
-#RateLimitBurst=1000
+#RateLimitBurst=10000
#SystemMaxUse=
#SystemKeepFree=
#SystemMaxFileSize=