What is KDUMP in Linux? During the Linux software development process, KDump is a very important existence. It is a dump mechanism when the Linux kernel crashes; when Kernel crashes, KDump tools can be used to locate the Kenel crash.
Kdump is a tool and service used to dump memory operation parameters when the system crashes, deadlocks, or crashs.
For an alteration, once the system crashes, the normal kernel has no way to work, at this time, it will generate a kernel for Capture’s current operation information, which will make all running status and data information in the memory at this time. Collect a Dump core file to facilitate the reasons for the Redhat engineer to analyze the crash, once the memory information is completed, the system will automatically restart. This is the same as the previous Diskdump, Netdump is the same. But kdump is RHEL6 unique.
Check if the Linux system opens kdump:
Execute the command: ulimit -c If the output is 0, the representative is not open. If you have been unlimited, it is already open.
Temporary open / close Linux’s KDUMP method:
Ulimit-c unlimited opens;
ULIMIT-C 0 is closed;
Modify the configuration file to open / close the kdump method:
1.vi/ECT/Profile file Add to New Row at the end of the file, ulimit-s-c unlimited> / dev / null 2> & 1
2. Save Exit: WQ!
3. Execute Source / etc / profile to make the current settings take effect
4. Whether it has been successfully opened by Ulimit-C.