其他分享
首页 > 其他分享> > coredump生成空文件,文件大小为0的原因

coredump生成空文件,文件大小为0的原因

作者:互联网

参考:https://stackoverflow.com/questions/13403824/empty-core-dump-file-after-segmentation-fault

1.受限要开启coredump的大小限制。ulimit -c unlimited

2.core文件不能在挂在分区生成,必须放到本地分区上。

If you run the core file in a mounted drive.The core file can't be written to a mounted drive but must be written to the local drive.

https://stackoverflow.com/questions/13403824/empty-core-dump-file-after-segmentation-fault

标签:文件大小,questions,dump,core,coredump,drive,生成,file
来源: https://www.cnblogs.com/dongzhiquan/p/15595194.html