Core dumps are stored in the location configured by kernel.core_pattern
sysctl. For example:
# sysctl kernel.core_pattern kernel.core_pattern = /var/log/core/core.%t.%e.%p
In some situations, the core_pattern must be a full path, starting with a /
. So if the setting just says core
or core.%p
(referring to the current directory), you will need to adjust it with sysctl
.