diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2020-05-23 17:00:41 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-05-24 22:54:17 +0200 |
commit | cc1c85fbc3e3c09c73421e370dfbfbe4ac3d9449 (patch) | |
tree | f25b5826330d34388b2071c6e277a56b2316fcf4 /man/logind.conf.xml | |
parent | 6a220cdb0b7d5ed787e4bfabc252fc5435f276eb (diff) | |
download | systemd-cc1c85fbc3e3c09c73421e370dfbfbe4ac3d9449.tar.gz |
login: limit nr_inodes for /run/user/$UID
Limit number of inodes for tmpfs mounts on /run/user/$UID. Default is
RuntimeDirectorySize= divided by 4096.
Diffstat (limited to 'man/logind.conf.xml')
-rw-r--r-- | man/logind.conf.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/man/logind.conf.xml b/man/logind.conf.xml index 4cbfd09cbf..b00daf366d 100644 --- a/man/logind.conf.xml +++ b/man/logind.conf.xml @@ -305,6 +305,19 @@ </varlistentry> <varlistentry> + <term><varname>RuntimeDirectoryInodesMax=</varname></term> + + <listitem><para>Sets the limit on number of inodes for the + <varname>$XDG_RUNTIME_DIR</varname> runtime directory for each + user who logs in. Takes a number, optionally suffixed with the + usual K, G, M, and T suffixes, to the base 1024 (IEC). + Defaults to <varname>RuntimeDirectorySize=</varname> divided + by 4096. Note that this size is a safety limit only. + As each runtime directory is a tmpfs file system, it will + only consume as much memory as is needed.</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>InhibitorsMax=</varname></term> <listitem><para>Controls the maximum number of concurrent inhibitors to permit. Defaults to 8192 |