coredump.conf
systemd
Developer
Lennart
Poettering
lennart@poettering.net
coredump.conf
5
coredump.conf
Coredump storage configuration file
/etc/systemd/coredump.conf
Description
This file configures the behaviour of systemd-coredump,
a handler for core dumps invoked by the kernel.
Options
All options are configured in the
[Coredump] section:
Storage=
Controls where to store cores. One of
none, external,
journal, and both. When
none the coredumps will be logged but not
stored permanently. When external (the
default), cores will be stored in /var/lib/systemd/coredump.
When journal, cores will be stored in
the journal and rotated following normal journal
rotation patterns. When both, cores
will be stored in both locations.
When cores are stored in the journal, they might be
compressed following journal compression settings, see
journald.conf5.
When cores are stored externally, they will be compressed
by default, see below.
Compression=
Controls the type of compression for external
storage. One of xz or
none.
CompressionLevel=
Controls the level of compression for external
storage. An integer between 0 and 9. See
xz1
for more details.
ProcessSizeMax=
The maximum size in bytes of a core
which will be processed. Coredumps exceeding this size
will be logged, but the backtrace will not be generated
and the core will not be stored.
ExternalSizeMax=
JournalSizeMax=
The maximum (uncompressed) size in bytes of a
core to be saved.
See Also
systemd-journald.service8,
coredumpctl1