diff options
author | Steve Bonds <sbonds@gmail.com> | 2021-03-25 07:40:39 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-04-30 11:18:39 +0200 |
commit | 88c2c8a0ba13de31061a22a352410c18ffacab9a (patch) | |
tree | 60dee540c4a6a32e32244e3f609fa94474a57c37 /man/coredump.conf.xml | |
parent | 4bd7e99232176621be927dd484bf0a27a5456e57 (diff) | |
download | systemd-88c2c8a0ba13de31061a22a352410c18ffacab9a.tar.gz |
Clarify that these values are in bytes
Similar to `ProcessSizeMax`. The defaults in percentages can be misunderstood to mean the values for these parameters will be in percentages.
Diffstat (limited to 'man/coredump.conf.xml')
-rw-r--r-- | man/coredump.conf.xml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/man/coredump.conf.xml b/man/coredump.conf.xml index 942a31db74..5f1b4ce028 100644 --- a/man/coredump.conf.xml +++ b/man/coredump.conf.xml @@ -35,7 +35,7 @@ <citerefentry><refentrytitle>systemd-coredump</refentrytitle><manvolnum>8</manvolnum></citerefentry>, a handler for core dumps invoked by the kernel. Whether <command>systemd-coredump</command> is used is determined by the kernel's - <varname>kernel.core_pattern</varname> <citerefentry project='man-pages'><refentrytitle>sysctl</refentrytitle><manvolnum>8</manvolnum></citerefentry> + <varname>kernel.core_pattern</varname> <citerefentry project='man-pages'><refentrytitle>sysctl</refentrytitle><manvolnum>8</manvolnum></citerefentry> setting. See <citerefentry><refentrytitle>systemd-coredump</refentrytitle><manvolnum>8</manvolnum></citerefentry> and @@ -86,7 +86,9 @@ <listitem><para>The maximum size in bytes of a core which will be processed. Core dumps exceeding this size may be stored, but the backtrace will not be generated. - </para> + Like other sizes in this same config file, the usual + suffixes to the base of 1024 are allowed (B, K, M, + G, T, P, and E.)</para> <para>Setting <varname>Storage=none</varname> and <varname>ProcessSizeMax=0</varname> disables all coredump handling except for a log entry.</para> @@ -98,15 +100,18 @@ <term><varname>JournalSizeMax=</varname></term> <listitem><para>The maximum (uncompressed) size in bytes of a - core to be saved.</para></listitem> + core to be saved. Unit suffixes are allowed just as in + <option>ProcessSizeMax=</option></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 core dumps. <option>MaxUse=</option> makes + <listitem><para>Enforce limits on the disk space, specified + in bytes, taken up by externally stored core dumps. + Unit suffixes are allowed just as in <option>ProcessSizeMax=</option>. + <option>MaxUse=</option> makes sure that old core dumps are removed as soon as the total disk space taken up by core dumps grows beyond this limit (defaults to 10% of the total disk size). <option>KeepFree=</option> |