From 24a4542cfa674ee80b54afcc223f2490a011966b Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 5 Dec 2022 21:05:54 +0000 Subject: 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). --- docs/ENVIRONMENT.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/ENVIRONMENT.md') 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 -- cgit v1.2.1