From 1c231f56482546725c4dbd3303f70300bd3c63e9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 4 Mar 2014 19:20:21 +0100 Subject: logind: make $XDG_RUNTIME_DIR a per-user tmpfs This way each user allocates from his own pool, with its own size limit. This puts the size limit by default to 10% of the physical RAM size but makes it configurable in logind.conf. --- man/logind.conf.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'man/logind.conf.xml') diff --git a/man/logind.conf.xml b/man/logind.conf.xml index 7673201664..ce8f5097cc 100644 --- a/man/logind.conf.xml +++ b/man/logind.conf.xml @@ -295,6 +295,28 @@ + + RuntimeDirectorySize= + + Sets the size limit on + the + $XDG_RUNTIME_DIR + runtime directory for each user who + logs in. Takes a size in bytes, + possibly suffixed with the usual K, G, + M, T suffixes, to the base 1024 + (IEC). Alternatively, a percentage + suffixed by % may + be specified, which sets the size + limit relative to the amount of + physical RAM. Defaults to 10%. 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 it is filled up + to. + + -- cgit v1.2.3-54-g00ecf