Unable to create a core dump

Dear all,

I have a couple of boxes that have been upgrade to 9.6 and now I have a program that is crashing and trying to create a dump. The problem the creation is disabled becasue of the “Resource Limits”:

May 4 13:17:44 servername systemd[1]: Started Process Core Dump (PID 10592/UID 0).
May 4 13:17:44 servername systemd-coredump[10593]: Resource limits disable core dumping for process 10419 (ark).
May 4 13:17:44 servername systemd-coredump[10593]: Process 10419 (ark) of user 14925 dumped core.
May 4 13:17:44 servername systemd[1]: systemd-coredump@1-10592-0.service: Deactivated successfully.

According to RH docs editing /etc/systemd/system.conf and adding LimitCORE=infinity (or/and DefaultLimitCORE=infinity) should be enough for the systemd procress to create the dump. So the file look slike:

[Manager]
DefaultLimitCORE=infinity
LimitCORE=infinity

I’ve also modified the limits in limits.conf

* - core unlimited

so the user with uid 14925 is unlimited:

[14925@servername ~]$ ulimit -c
unlimited

but nothing makes it work.

So, what limits is the message refering to?

TIA

Check that journal is persistent, and also check.

coredumpctl --no-pager list
cat /etc/systemd/coredump.conf

the journal is persistent:

# grep -i storage /etc/systemd/journald.conf
Storage=persistent

the dumps are listed, but they have no file :

TIME                           PID   UID  GID SIG     COREFILE EXE                                                                                         SIZE
Thu 2026-04-30 14:37:45 UTC  25398 24207 3206 SIGABRT none     /usr/lib/rstudio-server/bin/positron-server/bundled/extensions/positron-r/resources/ark/ark    -

the content of coredump.conf now looks like:

[Coredump]
Storage=external
#Compress=yes
#ProcessSizeMax=1G
#ExternalSizeMax=1G
#JournalSizeMax=767M
#MaxUse=
#KeepFree=

thanks for your answer

Does your system have enough ram for this?

12 GB. Not sure how much memory it needs for this, TBH.

Ok, but it’s all commented out!

Can you try uncomment

ProcessSizeMax=1G
ExternalSizeMax=1G

Sorry for my late answer. Seems like this was my mistake, after commenting out those lines teh core cump is there.
thanks!