Monday, June 27, 2016

Configuring KDump on CentOS 7

It used to be, back in my day, that a core file would just appear when the kernel decided to dump core.

Apparently that is not the case anymore. Now, you need to configure KDump, I have learned.

Here's an article on this:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Kernel_Crash_Dump_Guide/sect-kdump-config-cli.html

We had to do this recently because of an application that kept causing a kernel panic. We gave the dumps to developers who figured out the problem was related to an ioctl call being made in software.

UPDATE:
Here's another, perhaps better, article:
http://www.thegeekstuff.com/2014/05/kdump/

This one shows how to use the crash utility, as well as induce a system crash by sending signal 11 to a process.

No comments:

NUMA on VM a Hyperthread-Enabled Server

This could be a long post, because things like NUMA can get complicated. For background, we are running servers - hypervisors - that have 24...