(ubuntu22 기준으로 작성)
systemctl stop apport
systemctl disable apport
ulimit -c unlimited
vi /etc/security/limits.conf
<domain> <type> <item> <value>
* * core unlimited
vi /etc/sysctl.conf
kernel.core_pattern = %p.core
sysctl -p