From: Zbigniew Jędrzejewski-Szmek Date: Thu, 26 Jun 2014 05:02:48 +0000 (-0400) Subject: man: add coredump.conf(5) X-Git-Tag: v215~178 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=3cc765d2718ac9b4ff978044ceabf5ad59d73edf;ds=sidebyside man: add coredump.conf(5) --- diff --git a/Makefile-man.am b/Makefile-man.am index 1e4ec6793..588bafaad 100644 --- a/Makefile-man.am +++ b/Makefile-man.am @@ -664,6 +664,7 @@ endif if ENABLE_COREDUMP MANPAGES += \ + man/coredump.conf.5 \ man/coredumpctl.1 MANPAGES_ALIAS += \ # @@ -1483,6 +1484,7 @@ EXTRA_DIST += \ man/bootctl.xml \ man/bootup.xml \ man/busctl.xml \ + man/coredump.conf.xml \ man/coredumpctl.xml \ man/crypttab.xml \ man/daemon.xml \ diff --git a/man/coredump.conf.xml b/man/coredump.conf.xml new file mode 100644 index 000000000..9e4adff46 --- /dev/null +++ b/man/coredump.conf.xml @@ -0,0 +1,136 @@ + + + + + + + + + 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 + + + + diff --git a/src/journal/coredump.conf b/src/journal/coredump.conf index 53e471ed7..9f4edd34d 100644 --- a/src/journal/coredump.conf +++ b/src/journal/coredump.conf @@ -9,6 +9,9 @@ [Coredump] #Storage=external +#Compression=xz +#CompressionLevel=6 + #ProcessSizeMax=2G #ExternalSizeMax=2G #JournalSizeMax=767M