You are not logged in.
Based on advice in other threads, I did this:
# ln -s /dev/null /etc/sysctl.d/coredump.conf
# /lib/systemd/systemd-sysctl
but it didn't work; /proc/sys/kernel/core_pattern still contains "systemd-coredump ...". Furthermore, the processes that I have dumping core do so when using a lot (many GB) of memory, so the core dumps are huge. This causes systemd-journald to eat up 100% CPU for a long time after core dumps.
Also, how do I delete the ones that are already saved (that show up in systemd-coredumpctl)?
Last edited by tavianator (2013-05-22 21:54:15)
Offline
Hello tavianator.
This didn't work for me either, so i changed the link to:
# ln -s /dev/null /etc/sysctl.d/50-coredump.conf
After that /proc/sys/kernel/core_pattern shows "core" only.
Hope that helps.
Edit: I used the naming convention from /lib/sysctl.d/ which is also "50-coredump.conf".
Last edited by steinchen (2013-05-21 19:44:03)
Offline
@steinchen: I can confirm that this works for me, too. What a relief, thanks!
Offline
Thanks! Marking as SOLVED.
Offline
Hi, in case this isn’t working anymore (as some people say), you may refer to the updated instructions on the wiki to restore normal core dump files that work for me!
Offline