1COREDUMP.CONF(5)                 coredump.conf                COREDUMP.CONF(5)
2
3
4

NAME

6       coredump.conf, coredump.conf.d - Core dump storage configuration files
7

SYNOPSIS

9       /etc/systemd/coredump.conf
10
11       /etc/systemd/coredump.conf.d/*.conf
12
13       /run/systemd/coredump.conf.d/*.conf
14
15       /usr/lib/systemd/coredump.conf.d/*.conf
16

DESCRIPTION

18       These files configure the behavior of systemd-coredump(8), a handler
19       for core dumps invoked by the kernel. Whether systemd-coredump is used
20       is determined by the kernel's kernel.core_pattern sysctl(8) setting.
21       See systemd-coredump(8) and core(5) pages for the details.
22

CONFIGURATION DIRECTORIES AND PRECEDENCE

24       The default configuration is defined during compilation, so a
25       configuration file is only needed when it is necessary to deviate from
26       those defaults. By default, the configuration file in /etc/systemd/
27       contains commented out entries showing the defaults as a guide to the
28       administrator. This file can be edited to create local overrides.
29
30       When packages need to customize the configuration, they can install
31       configuration snippets in /usr/lib/systemd/*.conf.d/. Files in /etc/
32       are reserved for the local administrator, who may use this logic to
33       override the configuration files installed by vendor packages. The main
34       configuration file is read before any of the configuration directories,
35       and has the lowest precedence; entries in a file in any configuration
36       directory override entries in the single configuration file. Files in
37       the *.conf.d/ configuration subdirectories are sorted by their filename
38       in lexicographic order, regardless of which of the subdirectories they
39       reside in. When multiple files specify the same option, for options
40       which accept just a single value, the entry in the file with the
41       lexicographically latest name takes precedence. For options which
42       accept a list of values, entries are collected as they occur in files
43       sorted lexicographically. It is recommended to prefix all filenames in
44       those subdirectories with a two-digit number and a dash, to simplify
45       the ordering of the files.
46
47       To disable a configuration file supplied by the vendor, the recommended
48       way is to place a symlink to /dev/null in the configuration directory
49       in /etc/, with the same filename as the vendor configuration file.
50

OPTIONS

52       All options are configured in the "[Coredump]" section:
53
54       Storage=
55           Controls where to store cores. One of "none", "external", and
56           "journal". When "none", the core dumps may be logged (including the
57           backtrace if possible), but not stored permanently. When "external"
58           (the default), cores will be stored in /var/lib/systemd/coredump/.
59           When "journal", cores will be stored in the journal and rotated
60           following normal journal rotation patterns.
61
62           When cores are stored in the journal, they might be compressed
63           following journal compression settings, see journald.conf(5). When
64           cores are stored externally, they will be compressed by default,
65           see below.
66
67       Compress=
68           Controls compression for external storage. Takes a boolean
69           argument, which defaults to "yes".
70
71       ProcessSizeMax=
72           The maximum size in bytes of a core which will be processed. Core
73           dumps exceeding this size may be stored, but the backtrace will not
74           be generated.
75
76           Setting Storage=none and ProcessSizeMax=0 disables all coredump
77           handling except for a log entry.
78
79       ExternalSizeMax=, JournalSizeMax=
80           The maximum (uncompressed) size in bytes of a core to be saved.
81
82       MaxUse=, KeepFree=
83           Enforce limits on the disk space taken up by externally stored core
84           dumps.  MaxUse= makes sure that old core dumps are removed as soon
85           as the total disk space taken up by core dumps grows beyond this
86           limit (defaults to 10% of the total disk size).  KeepFree= controls
87           how much disk space to keep free at least (defaults to 15% of the
88           total disk size). Note that the disk space used by core dumps might
89           temporarily exceed these limits while core dumps are processed.
90           Note that old core dumps are also removed based on time via
91           systemd-tmpfiles(8). Set either value to 0 to turn off size-based
92           clean-up.
93
94       The defaults for all values are listed as comments in the template
95       /etc/systemd/coredump.conf file that is installed by default.
96

SEE ALSO

98       systemd-journald.service(8), coredumpctl(1), systemd-tmpfiles(8)
99
100
101
102systemd 241                                                   COREDUMP.CONF(5)
Impressum