[sysctl] Increase hung_task_timeout_secs to 300 (#6312)
Depending on the performance characteristics of a given hardware platform, it's possible to exceed the default 120 second kernel timeout during I/O intensive operations like image installation. This can cause a kernel panic like so: kernel:[ 852.441781] Kernel panic - not syncing: hung_task: blocked tasks If this happens during image installation, it's possible for the install to become corrupted and leave the device in an unreachable state that requires a power cycle to resolve. This risk increases as image size continues to increase. So, we need to increase the timeout so that we don't encounter kernel panics on devices with lower disk throughput. Signed-off-by: Danny Allen <daall@microsoft.com>
This commit is contained in:
parent
119fd7f577
commit
a64994ec29
@ -402,6 +402,7 @@ sudo augtool --autosave "
|
||||
set /files/etc/sysctl.conf/kernel.core_pattern '|/usr/local/bin/coredump-compress %e %t %p %P'
|
||||
set /files/etc/sysctl.conf/kernel.softlockup_panic 1
|
||||
set /files/etc/sysctl.conf/kernel.panic 10
|
||||
set /files/etc/sysctl.conf/kernel.hung_task_timeout_secs 300
|
||||
set /files/etc/sysctl.conf/vm.panic_on_oom 2
|
||||
set /files/etc/sysctl.conf/fs.suid_dumpable 2
|
||||
" -r $FILESYSTEM_ROOT
|
||||
|
Loading…
Reference in New Issue
Block a user