]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journald: bump rate limits (#8660)
authorDavid Tardon <dtardon@redhat.com>
Thu, 5 Apr 2018 11:06:59 +0000 (13:06 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 5 Apr 2018 11:06:59 +0000 (13:06 +0200)
Apparently, it is quite common to hit a problem, where systemd-journald
would drop messages because service is logging too fast.

man/journald.conf.xml
src/journal/journald-server.c
src/journal/journald.conf

index aaef49efd5a43630f1f5bb96265541e2272efe34..bd63a6a98c7c649a7c3d6abcc6024120caa28f17 100644 (file)
         interval is over. A message about the number of dropped
         messages is generated. This rate limiting is applied
         per-service, so that two services which log do not interfere
-        with each other's limits. Defaults to 1000 messages in 30s.
+        with each other's limits. Defaults to 10000 messages in 30s.
         The time specification for
         <varname>RateLimitIntervalSec=</varname> may be specified in the
         following units: <literal>s</literal>, <literal>min</literal>,
index a5f13153277817630eda87296a2a3d0abfbee5cd..1858936c01d82e0f9313c7af07fe89e925180bb9 100644 (file)
@@ -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)
index 03fce40e908707fe2976e4d109176b78b9a482b2..94d5c678aa0fe3805f79fb768a781f83ceb6358e 100644 (file)
@@ -18,7 +18,7 @@
 #SplitMode=uid
 #SyncIntervalSec=5m
 #RateLimitIntervalSec=30s
-#RateLimitBurst=1000
+#RateLimitBurst=10000
 #SystemMaxUse=
 #SystemKeepFree=
 #SystemMaxFileSize=