mirror of
https://github.com/systemd/systemd.git
synced 2024-12-24 09:33:32 +08:00
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.
This commit is contained in:
parent
6064de2de8
commit
3de8ff5a69
@ -158,7 +158,7 @@
|
||||
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>,
|
||||
|
@ -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)
|
||||
|
@ -18,7 +18,7 @@
|
||||
#SplitMode=uid
|
||||
#SyncIntervalSec=5m
|
||||
#RateLimitIntervalSec=30s
|
||||
#RateLimitBurst=1000
|
||||
#RateLimitBurst=10000
|
||||
#SystemMaxUse=
|
||||
#SystemKeepFree=
|
||||
#SystemMaxFileSize=
|
||||
|
Loading…
Reference in New Issue
Block a user