Kernel: Uhhuh. NMI received for unknown reason 31 on CPU 3
This is almost always bad hardware. Run memtest for a couple of hours since that's the easiest thing to do. From there investigate your processor, add-in cards, motherboard, etc.
As mentioned above this seems to be hardware error,"NMI received for unknown reason 31 on CPU 3".NMI or non maskable interrupt is a hardware interrupt that processor can't ignore.NMI interrupt is usually for important task or to report hardware error
OS doesn't have much role to play,so here you can do these things
Install mcelog rpm to get more deeper info
If its a HP node,Change the HP BIOS option for the power saving mode to "OS Control" from any other mode configured such as "Dynamic Power Saving Mode" or "Static - High Performance" mode.
Upgrade BIOS or firmware
But the best advice is to contact hardware vendor