天道酬勤,学无止境

Safe Firewall

blocked for more than 120 seconds 及sysctl用法

服务器报警,出现 blocked for more than 120 seconds. 前几天服务器发生了一次报警,显示系统负载过高,Nagios监控发生超时。等我连上去看的时候,已经收到服务器恢复正常,报警解除的短信了。 Jul 16 12:14:11 web3 kernel: INFO: task nfsd:3269 blocked for more than 120 seconds. Jul 16 12:14:11 web3 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. 句的意思是nfsd和php-cgi这两个进程出现了超过120秒的阻塞现象。初步怀疑是机房的网络出现了短暂中断或者磁盘写入出现问题造成的,只是日志又正常写进去了,网络的原因可能性比较大。有待后续观察..... This is a know bug. By default Linux uses up to 40% of the available memory for file system caching. After this mark has been reached the file system flushes all outstanding data to disk causing

2021-03-27 15:35:20    分类:博客    服务器      message   Safe Firewall