输入以下命令:
ulimit -a 命令解释:查看限制
ulimit -c unlimited
命令解释:设置生成的core文件大小为无限制,unlimited这个参数可以改为数字,如1024等等,表明生成的core文件最大值为1024
ulimit -s unlimited