[systemd-devel] [Question] How to specify LimitCORE=infinity for all the daemon processes?

Lennart Poettering lennart at poettering.net
Fri Mar 1 10:15:42 PST 2013


On Thu, 21.02.13 09:53, HATAYAMA Daisuke (d.hatayama at jp.fujitsu.com) wrote:

> So, I've already understood we can get daemon processes. My question
> is how to configure for each daemon to have unlimited in their soft
> limit by one configuration in systemd framework.

Hmm, I am not following here. If I set "DefaultLimitCORE=infinity" in
/etc/systemd/system.conf and reboot all my system services are run with
RLIMIT_CORE set to infinity as "grep 'Max core' /proc/*/limits" proves
me. So this works correctly here. But it doesn't for you? Is that the
problem here?

> BTW, I heard systemd-coredump for the first time. Does this mean some
> particular feature of systemd concerning core dump?

It's an optional feature (and not enabled in Fedora/RHEL), that allows
systemd to store coredumps that happen on the system in the
journal...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list