On 08.12.2023 15:17, Bogdan-Andrei Iancu wrote:
Maybe you have some apport service running on the machine, moving the core file.

Hello,

I second this too, as it's the 90% main cause for corefiles not generating on my environment.  To confirm, just do:

$ cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E

... if the output includes "apport", it means the "apport" suite is handling all corefile writing, which can be good or bad, depending on your settings.

Still, to avoid all of this and simply have the OS write any corefile into the dying process's working directory, just run the following under "root" user:

$ echo "core.%p" > /proc/sys/kernel/core_pattern

Best regards,

--
Liviu Chircu


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to