diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-06-27 18:57:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-27 19:35:57 +0200 |
commit | 0dc5d23c85db85f96b141d4d32deee8018e56a6a (patch) | |
tree | 95d1a57ec4a8f21e3494d61baa77b9b6d3bedffb /man | |
parent | 1f97091d3cb0887c264176b47b0a86c269acf0b5 (diff) |
coredump: add simple coredump vacuuming
When disk space taken up by coredumps grows beyond a configured limit
start removing the oldest coredump of the user with the most coredumps,
until we get below the limit again.
Diffstat (limited to 'man')
-rw-r--r-- | man/coredump.conf.xml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/man/coredump.conf.xml b/man/coredump.conf.xml index 9e4adff46a..e24d958ac4 100644 --- a/man/coredump.conf.xml +++ b/man/coredump.conf.xml @@ -121,6 +121,23 @@ <listitem><para>The maximum (uncompressed) size in bytes of a core to be saved.</para></listitem> </varlistentry> + + <varlistentry> + <term><varname>MaxUse=</varname></term> + <term><varname>KeepFree=</varname></term> + + <listitem><para>Enforce limits on the disk space taken up by + externally stored coredumps. <option>MaxUse=</option> makes + sure that old coredumps are removed as soon as the total disk + space taken up by coredumps grows beyond this limit (defaults + to 10% of the total disk size). <option>KeepFree=</option> + controls how much disk space to keep free at least (defaults + to 15% of the total disk size). Note that the disk space used + by coredumps might temporarily exceed these limits while + coredumps are processed. Note that old coredumps are also + removed based on on time via + <citerefentry><refentrytitle>systemd-tmpfiles</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para></listitem> + </varlistentry> </variablelist> </refsect1> @@ -129,7 +146,8 @@ <title>See Also</title> <para> <citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, - <citerefentry><refentrytitle>coredumpctl</refentrytitle><manvolnum>1</manvolnum></citerefentry> + <citerefentry><refentrytitle>coredumpctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>, + <citerefentry><refentrytitle>systemd-tmpfiles</refentrytitle><manvolnum>8</manvolnum></citerefentry> </para> </refsect1> |