1 ulimit -c 1000000000 2 sysctl -w kernel.core_pattern="core.%e.%p.%t"

查看配置是否使能吐核:

1 ulimit -c

2 cat /proc/sys/kernel/core_pattern