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:

Fixing Clustering and Disk Issues on an N+1 Morpheus CMP Cluster

I had performed an upgrade on Morpheus which I thought was fairly successful. I had some issues doing this upgrade on CentOS 7 because it wa...