Linux Kernel panic issue: How to fix hung_task_timeout_secs and blocked for more than 120 seconds problem
issue:
![]() |
|
Solution :
Make it permanent
When the server seemed more stable and no Kernel/Swap/Memory Panic for a week,
I edited /etc/sysctl.conf file to make these permanent after reboot.
vi /etc/sysctl.conf
vm.dirty_background_ratio = 5
vm.dirty_ratio = 10
Save and exit.
sudo reboot
That’s it. I never had this issue .. ever again..
Hope someone find this info useful.
|