diff options
author | Luca Boccassi <bluca@debian.org> | 2022-12-12 23:10:18 +0100 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2022-12-13 19:13:10 +0100 |
commit | 856bfaeb054729b92992bc392aca2dbcc62e4a8e (patch) | |
tree | 54a8f1305454e22bc82afb685d44df2ac05155f9 /man | |
parent | manager: log unit/pid of sender when Reload() is called (diff) | |
download | systemd-856bfaeb054729b92992bc392aca2dbcc62e4a8e.tar.xz systemd-856bfaeb054729b92992bc392aca2dbcc62e4a8e.zip |
manager: add option to rate limit daemon-reload
Reloading is a heavy-weight operation, and currently it is not
possible to stop an orchestrator from spamming reload requests.
Add configuration options to allow rate-limiting.
Diffstat (limited to 'man')
-rw-r--r-- | man/kernel-command-line.xml | 2 | ||||
-rw-r--r-- | man/systemd-system.conf.xml | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml index 368783d6fe..fcab0a90f4 100644 --- a/man/kernel-command-line.xml +++ b/man/kernel-command-line.xml @@ -72,6 +72,8 @@ <term><varname>systemd.machine_id=</varname></term> <term><varname>systemd.set_credential=</varname></term> <term><varname>systemd.import_credentials=</varname></term> + <term><varname>systemd.reload_limit_interval_sec=</varname></term> + <term><varname>systemd.reload_limit_burst=</varname></term> <listitem> <para>Parameters understood by the system and service manager to control system behavior. For details, see diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index ac21c31d9a..6406df13ae 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -550,6 +550,16 @@ <para>If the value is <literal>/</literal>, only labels specified with <varname>SmackProcessLabel=</varname> are assigned and the compile-time default is ignored.</para></listitem> </varlistentry> + + <varlistentry> + <term><varname>ReloadLimitIntervalSec=</varname></term> + <term><varname>ReloadLimitBurst=</varname></term> + + <listitem><para>Rate limiting for daemon-reload requests. Default to unset, and any number of daemon-reload + operations can be requested at any time. <varname>ReloadLimitIntervalSec=</varname> takes a value in seconds + to configure the rate limit window, and <varname>ReloadLimitBurst=</varname> takes a positive integer to + configure the maximum allowed number of reloads within the configured time window.</para></listitem> + </varlistentry> </variablelist> </refsect1> |