'Twas brillig, and Guillaume Rousse at 27/03/13 14:44 did gyre and gimble: > Le 27/03/2013 15:09, AL13N a écrit : >> the other day i tried to get cores, but somehow unlimited meant 0 >> meant no >> core at all > You need to set LimitCORE=infinity in unit file, according to > systemd.exec man page. And you probably need the adequate sysctl setting > (kernel.core_pattern) to ensure the core file get dumped into a > predictible directory.
Yup, I put LimitCORE=infinity in mine: [colin@jimmy conf]$ cat /etc/systemd/system/httpd.service .include /usr/lib/systemd/system/httpd.service [Service] LimitCORE=infinity But the *real* change here from before is in Apache config. With newer Apache's (starting 2.4??) you have to put: CoreDumpDirectory /tmp in your httpd.conf somewhere. Without this, it won't write the core file. Col PS I realised that with my customised httpd.service file (not the one above which avoids this problem, but a literal copy!), I wasn't actually using the new settings, so my previous test related to this thread was bunk... will see if this also fixes it for me!! -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/