Has the kernel parameter 'kernel.panic_on_oops' always default been set to 1 in Red Hat Enterprise Linux?
Environment
- Red Hat Enterprise Linux (RHEL) 6
Issue
- In a minimal install we noticed that:
- kernel.panic_on_oops = 1
- We had a problem with an oops that resulted unexpected in a kernel panic.
- Is there a specific reason why this is now the default?
Resolution
- The
kernel.panic_on_oopskernel parameter is default set to 1 since the official GA release of RHEL6
Root Cause
- This parameter has been set to 1 to obtain the same behavior as previous RHEL releases like RHEL5
Diagnostic Steps
- Use
sysctlto check the current value of this parameter
$ sysctl kernel.panic_on_oops
1
- For more information on how to set
sysctlprameters, see: How to set sysctl variables on Red Hat Enterprise Linux - For more information about the
kernel.panic_on_oopsparameter, see: What panic parameters are available for use to panic a system when it is hanging or sluggish?
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
