[systemd-devel] systemd-coredump is extremely slow

Jan Včelák jan.vcelak at nic.cz
Wed Apr 29 03:14:31 PDT 2015


Hello list,

I'm having a trouble with systemd-coredump on my development machine. When my 
program crashes on an assert, the termination of the program takes a really 
long time even if RLIMIT_CORE is zero. When the program is compiled with 
address sanitizer, it usually takes minutes.

I traced down this problem to systemd-coredump. If kernel.core_pattern is set 
to a file name, the crashing program terminates immediately. The same happens 
if I set the option to "|/bin/true".

I don't know what is a proper fix for this problem. Could systemd-coredump 
just terminate immediately if the core dumping is disabled?

I'm running Fedora 22 with systemd-219-9.fc22.x86_64.

Cheers,

Jan


More information about the systemd-devel mailing list