From: Andreas Arnez <arnez@linux.vnet.ibm.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Ulrich Weigand <uweigand@de.ibm.com>,
GDB Development <gdb@sourceware.org>
Subject: systemd-coredump in distros
Date: Thu, 21 Sep 2017 18:14:00 -0000 [thread overview]
Message-ID: <m3o9q3zzon.fsf@oc1027705133.ibm.com> (raw)
It seems common for new distros to install systemd-coredump by default
and disable core files in the current working directory. For instance,
see the announcement "Enable systemd-coredump by default" for Fedora 26
(https://fedoraproject.org/wiki/Changes/coredumpctl).
Is there a recommended/preferred way to deal with this in a typical
development use case? I stumbled upon some issues with systemd-coredump
and don't know if I misunderstood something:
* In my tests, after invoking a command that dumps core, it could happen
that "coredumpctl" failed immediately afterwards and succeeded a
second later -- maybe due to asynchronous processing?
* There does not seem to be a way for a user to remove core dumps from
the journal. Thus a developer's experiment may pile up dumps in the
journal, occupying lots of space and making the dumps more difficult
to find.
* I've seen dumps (from GDB's bigcore.exp) being truncated by
coredumpctl down to four Gigabytes, although no such limit was set in
/etc/systemd/coredump.conf. Note that I haven't investigated where
the truncation happens.
Considering these issues I wonder whether there's a way for a user to
tell systemd-coredump something like: "Core dumps from this process
should be treated traditionally and written to its current working
directory". Is that possible? If not, should it be?
--
Andreas
next reply other threads:[~2017-09-21 18:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-21 18:14 Andreas Arnez [this message]
2017-09-21 18:57 ` Jan Kratochvil
2017-09-21 22:56 ` R0b0t1
2017-09-25 11:07 ` Spurious re-attach error with extended-remote target Dmitry Antipov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3o9q3zzon.fsf@oc1027705133.ibm.com \
--to=arnez@linux.vnet.ibm.com \
--cc=gdb@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=uweigand@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox