summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-05-04 19:40:05 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-05 22:50:09 +0200
commitc5a11ae268cf4188caf74d1acfd506a606e85967 (patch)
treef3741fbf902d936452fdc83954b4f8a19b06be31 /man
parent6d97d3c648e590fe05a5fd12d06e0ddb9dc9da2f (diff)
logind: enforce a limit on inhibitors we hand out
For similar reasons as the recent addition of a limit on sessions. Note that we don't enforce a limit on inhibitors per-user currently, but there's an implicit one, since each inhibitor takes up one fd, and fds are limited via RLIMIT_NOFILE, and the limit on the number of processes per user.
Diffstat (limited to 'man')
-rw-r--r--man/logind.conf.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/man/logind.conf.xml b/man/logind.conf.xml
index 405dcf9041..fe92277a1f 100644
--- a/man/logind.conf.xml
+++ b/man/logind.conf.xml
@@ -297,6 +297,13 @@
</varlistentry>
<varlistentry>
+ <term><varname>InhibitorsMax=</varname></term>
+
+ <listitem><para>Controls the maximum number of concurrent inhibitors to permit. Defaults to 8192
+ (8K).</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>SessionsMax=</varname></term>
<listitem><para>Controls the maximum number of concurrent user sessions to manage. Defaults to 8192