Examine the parameters shown using the sysctl command relating to panic situations:
[root@WAYOUT etc]# sysctl -a |grep panic |grep -v hung
kernel.panic = 0
kernel.panic_on_oops = 0
kernel.softlockup_panic = 0
kernel.unknown_nmi_panic = 0
kemel.panic_on_unrecovered_nmi = 0
kernel.panic_on_io_nmi = 0
kemel.panic_on_oom = 2
[root@WAYOUT etc]# sysctl -a |grep hung
kernel.hung_task_panic = 0
kernel. hung_task_chek_count – 4194304
kernel.hung_task_timeout_secs = 120
kernel.hung_task_wamings = 10
Which two statements are true about system behavior?
A.
The kernel delays panic for a few seconds if a bug is encountered to allow theklogdkernel logging daemon to log theoopsoutput.
B.
The kernel panics if a kernel thread sleeps in theTASKJJNINTERRUPTABLEstate for more than 120 seconds.
C.
The kernel attempts to continue if a bug is encountered.
D.
The kernel always panics if an out-of-memory condition arises.
E.
The kernel tries to kill some memory-consuming processes to avoid a panic if an out-of-memory condition arises.
F.
The kernel panics if a user thread sleeps in theTASK_UNINTERRUPTABLEstate for more than 120 seconds.
I am not 100% but i believe that
B,D are correct
kernel.hung_task_panic = 0, so panic for hung task is disable B,F incorrect
kernel.panic_on_oom = 2 should be change to vm.panic_on_oom = 2 => always panic when OOM => D is correct
kernel.panic_on_oops = 0 may be C
A not relate
so C D