1.启用收集配置
对当前用户
ulimit -c unlimited
对所有用户
Edit the file.
/etc/security/limits.conf
增加行
soft core unlimited
2.收集触发
2.1. kill
kill -s SIGQUIT PID
kill -s SIGABRT PID
2.2.gcore
yum install gdb
gcore PID
3.full dump 配置
echo 0x1FF> /proc/PID/coredump_filter