快好知 kuaihz订阅观点

 

CentOS Linux release 7.4.1708 (Core) 内核...

针对系统版本为:CentOS Linux release 7.4.1708 (Core) 

[root@node3 opt]# cat /etc/redhat-release 

由于并发执行脚本导致内核锁,Soft lockup bug没有让系统彻底死机,那么若干个进程(或者kernel thread)被锁死在内核区域。

解决方式:

1、查看/proc/sys/kernel/watchdog_thresh中的参数

[root@node3 opt]# tail -1 /proc/sys/kernel/watchdog_thresh

20:

2、临时生效参数

[root@node3 opt]# sysctl -w kernel.watchdog_thresh=30

kernel.watchdog_thresh = 30

#将修改watchdog_thresh中的参数为30。

#查看watchdog_thresh中参数

# tail -1 /proc/sys/kernel/watchdog_thresh30:

3、使用echo永久生效

[root@node3 opt]# echo 30 > /proc/sys/kernel/watchdog_thresh 

[root@node3 opt]# tail -1 /proc/sys/kernel/watchdog_thresh

本站资源来自互联网,仅供学习,如有侵权,请通知删除,敬请谅解!
搜索建议:内核  内核词条  release  release词条  CentOS  CentOS词条  Linux  Linux词条  1708  1708词条