summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2022-12-05 21:05:54 +0000
committerLuca Boccassi <bluca@debian.org>2022-12-05 21:05:57 +0000
commit24a4542cfa674ee80b54afcc223f2490a011966b (patch)
treea394e8772613278994283524fe06e5ead71fbdc0 /docs
parentde28dd77c12d67574cc5add467858ef37c518d2b (diff)
downloadsystemd-24a4542cfa674ee80b54afcc223f2490a011966b.tar.gz
pid1: add env var to override default mount rate limit burst
I am hitting the rate limit on a busy system with low resources, and it stalls the boot process which is Very Bad (TM).
Diffstat (limited to 'docs')
-rw-r--r--docs/ENVIRONMENT.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md
index 01ee065583..604d1a6232 100644
--- a/docs/ENVIRONMENT.md
+++ b/docs/ENVIRONMENT.md
@@ -283,6 +283,13 @@ All tools:
type as unsupported may not prevent loading some units of that type if they
are referenced by other units of another supported type.
+* `$SYSTEMD_DEFAULT_MOUNT_RATE_LIMIT_BURST` — can be set to override the mount
+ units burst rate limit for parsing `/proc/self/mountinfo`. On a system with
+ few resources but many mounts the rate limit may be hit, which will cause the
+ processing of mount units to stall. The burst limit may be adjusted when the
+ default is not appropriate for a given system. Defaults to `5`, accepts
+ positive integers.
+
`systemd-remount-fs`:
* `$SYSTEMD_REMOUNT_ROOT_RW=1` — if set and no entry for the root directory