为什么我的小鸡里会出现这么大的文件
台湾网友:
A core dump is the recorded state of the working memory of a computer program at a specific time, generally when the program has terminated abnormally (crashed). In practice, other key pieces of program state are usually dumped at the same time, including the processor registers, which may include the program counter and stack pointer, memory management information, and other processor and operating system flags and information. The name comes from the once-standard memory technology core memory. Core dumps are often used to diagnose or debug errors in computer programs.
On many operating systems, a fatal error in a program automatically triggers a core dump, and by extension the phrase "to dump core" has come to mean, in many cases, any fatal error, regardless of whether a record of the program memory is created.
一句话概括就是你程序不停的崩溃不停的产生崩溃时刻的内存影像, 如果程序崩溃对你没影响的话可以直接禁止生成core文件:
/etc/security/limits.conf
* soft core 0
* hard core 0
河南网友:被黑了,要不就是你复制硬盘内容了
重庆网友:感觉像一个软连接,看楼下大佬解释,我也学习学习