扫描二维码关注官方公众号
返回列表 发布新帖

[求助/问答] kworker进程导致黑群不能硬盘休眠,请问是什么原因?

5786 1
发表于 2019-12-9 14:11:44 | 查看全部 阅读模式

来吧兄弟,一起玩一起讨论!

您需要 登录 才可以下载或查看,没有账号?注册

×

无事折腾,重装黑群。在没有安装任何套件的情况下,简单设置可实现黑群硬盘休眠后自动关机,并搭配路由padavan固件的局域网唤醒实现WOL。
但是在不自动关机前提下,持续通电开机,经过两三天的日志记录和日志分析,发现黑群硬盘会不定时被唤醒,间隔时间不定。
遍寻无果,对比几个未得到答案的帖子以及剔除个别因素,最终判断影响个人黑群的原因为Kworker这个进程。
如有大神了解原因,请指教,感谢。

以下为相关记录说明。

(1)黑群版本 DS3617xs,版本:DSM 6.2-23739
黑群版本.png

(2)硬盘休眠设置
关机设置.png

(3)唤醒日志
休眠唤醒p.png

(4)hibernationFull.log(已经剔除synologrotated、logrotate、dirtied inode、on tmpfs、on proc等无关行)
         比对以上唤醒日志,经过分析hibernationFull日志文件后得出影响因素为kworker不定时read硬盘第一个分区


求解:原因及处理办法

#####################################################
***********Clear*********
[451406.671123] kworker/1:2(2378): READ block 4980352 on sda1 (8 sectors)
[451406.671187] kworker/1:2(2378): READ block 4980352 on sdb1 (8 sectors)
[453980.703138] kworker/1:2(2378): READ block 4980352 on sda1 (8 sectors)
[453980.703205] kworker/1:2(2378): READ block 4980352 on sdb1 (8 sectors)
uptime : [453980.703338]
======Idle 2090 seconds======
Mon Dec 9 00:07:52 CST 2019
#####################################################
***********Clear*********
[453980.703138] kworker/1:2(2378): READ block 4980352 on sda1 (8 sectors)
[453980.703205] kworker/1:2(2378): READ block 4980352 on sdb1 (8 sectors)
uptime : [454005.937109]
======Idle 23 seconds======
Mon Dec 9 00:08:16 CST 2019
#####################################################
***********Clear*********
[453980.703138] kworker/1:2(2378): READ block 4980352 on sda1 (8 sectors)
[453980.703205] kworker/1:2(2378): READ block 4980352 on sdb1 (8 sectors)
[454844.703170] kworker/2:1(6384): READ block 4980352 on sda1 (8 sectors)
[454844.703234] kworker/2:1(6384): READ block 4980352 on sdb1 (8 sectors)
uptime : [454844.703362]
======Idle 838 seconds======
Mon Dec 9 00:22:16 CST 2019
#####################################################
***********Clear*********
[453980.703138] kworker/1:2(2378): READ block 4980352 on sda1 (8 sectors)
[453980.703205] kworker/1:2(2378): READ block 4980352 on sdb1 (8 sectors)
[454844.703170] kworker/2:1(6384): READ block 4980352 on sda1 (8 sectors)
[454844.703234] kworker/2:1(6384): READ block 4980352 on sdb1 (8 sectors)
uptime : [454868.944099]
======Idle 23 seconds======
Mon Dec 9 00:22:40 CST 2019
#####################################################
***********Clear*********
[454844.703170] kworker/2:1(6384): READ block 4980352 on sda1 (8 sectors)
[454844.703234] kworker/2:1(6384): READ block 4980352 on sdb1 (8 sectors)
uptime : [454892.935105]
======Idle 23 seconds======
Mon Dec 9 00:23:04 CST 2019
#####################################################
***********Clear*********
[454844.703170] kworker/2:1(6384): READ block 4980352 on sda1 (8 sectors)
[454844.703234] kworker/2:1(6384): READ block 4980352 on sdb1 (8 sectors)
[467192.075099] kworker/0:2(13892): READ block 4980352 on sda1 (8 sectors)
[467192.075182] kworker/0:2(13892): READ block 4980352 on sdb1 (8 sectors)
[467192.076285] kworker/1:2(2378): READ block 8 on sda3 (8 sectors)
[467192.076447] kworker/1:2(2378): READ block 8 on sdb3 (8 sectors)
uptime : [467192.422200]
======Idle 12298 seconds======
Mon Dec 9 03:48:04 CST 2019
#####################################################
***********Clear*********
[467192.075099] kworker/0:2(13892): READ block 4980352 on sda1 (8 sectors)
[467192.075182] kworker/0:2(13892): READ block 4980352 on sdb1 (8 sectors)
[467192.076285] kworker/1:2(2378): READ block 8 on sda3 (8 sectors)
[467192.076447] kworker/1:2(2378): READ block 8 on sdb3 (8 sectors)
uptime : [467217.997116]
======Idle 23 seconds======
Mon Dec 9 03:48:28 CST 2019
#####################################################
***********Clear*********
[467192.075099] kworker/0:2(13892): READ block 4980352 on sda1 (8 sectors)
[467192.075182] kworker/0:2(13892): READ block 4980352 on sdb1 (8 sectors)
[467192.076285] kworker/1:2(2378): READ block 8 on sda3 (8 sectors)
[467192.076447] kworker/1:2(2378): READ block 8 on sdb3 (8 sectors)
[470405.922730] kworker/0:2(13892): READ block 4980352 on sda1 (8 sectors)
[470405.922803] kworker/0:2(13892): READ block 4980352 on sdb1 (8 sectors)
[470405.924207] kworker/1:2(2378): READ block 8 on sda3 (8 sectors)
[470405.925608] kworker/3:2(6792): READ block 8 on sdb3 (8 sectors)
uptime : [470406.077985]
======Idle 3188 seconds======
Mon Dec 9 04:41:37 CST 2019
#####################################################
***********Clear*********
[470405.922730] kworker/0:2(13892): READ block 4980352 on sda1 (8 sectors)
[470405.922803] kworker/0:2(13892): READ block 4980352 on sdb1 (8 sectors)
[470405.924207] kworker/1:2(2378): READ block 8 on sda3 (8 sectors)
[470405.925608] kworker/3:2(6792): READ block 8 on sdb3 (8 sectors)
uptime : [470433.946108]
======Idle 27 seconds======
Mon Dec 9 04:42:05 CST 2019
#####################################################
***********Clear*********
[470405.922730] kworker/0:2(13892): READ block 4980352 on sda1 (8 sectors)
[470405.922803] kworker/0:2(13892): READ block 4980352 on sdb1 (8 sectors)
[470405.924207] kworker/1:2(2378): READ block 8 on sda3 (8 sectors)
[470405.925608] kworker/3:2(6792): READ block 8 on sdb3 (8 sectors)
uptime : [470471.107123]
======Idle 35 seconds======
Mon Dec 9 04:42:41 CST 2019
#####################################################
***********Clear*********
[470405.922730] kworker/0:2(13892): READ block 4980352 on sda1 (8 sectors)
[470405.922803] kworker/0:2(13892): READ block 4980352 on sdb1 (8 sectors)
[470405.924207] kworker/1:2(2378): READ block 8 on sda3 (8 sectors)
[470405.925608] kworker/3:2(6792): READ block 8 on sdb3 (8 sectors)
uptime : [475584.703244]
======Idle 5113 seconds======
Mon Dec 9 06:07:56 CST 2019
#####################################################
***********Clear*********
[475589.273825] kworker/1:2(2378): READ block 4980352 on sda1 (8 sectors)
[475589.273841] kworker/1:2(2378): READ block 4980352 on sdb1 (8 sectors)
uptime : [475619.733139]
======Idle 33 seconds======
Mon Dec 9 06:08:30 CST 2019
#####################################################
***********Clear*********
[475589.273825] kworker/1:2(2378): READ block 4980352 on sda1 (8 sectors)
[475589.273841] kworker/1:2(2378): READ block 4980352 on sdb1 (8 sectors)
[479851.711138] kworker/2:0(31017): READ block 4980352 on sda1 (8 sectors)
[479851.711202] kworker/2:0(31017): READ block 4980352 on sdb1 (8 sectors)
uptime : [479852.833689]
======Idle 4231 seconds======
Mon Dec 9 07:19:03 CST 2019
#####################################################
***********Clear*********
[475589.273825] kworker/1:2(2378): READ block 4980352 on sda1 (8 sectors)
[475589.273841] kworker/1:2(2378): READ block 4980352 on sdb1 (8 sectors)
[479851.711138] kworker/2:0(31017): READ block 4980352 on sda1 (8 sectors)
[479851.711202] kworker/2:0(31017): READ block 4980352 on sdb1 (8 sectors)
uptime : [479879.765102]
======Idle 25 seconds======
Mon Dec 9 07:19:30 CST 2019
#####################################################
***********Clear*********
[479851.711138] kworker/2:0(31017): READ block 4980352 on sda1 (8 sectors)
[479851.711202] kworker/2:0(31017): READ block 4980352 on sdb1 (8 sectors)
[482394.719202] kworker/2:0(31017): READ block 4980352 on sda1 (8 sectors)
[482394.719264] kworker/2:0(31017): READ block 4980352 on sdb1 (8 sectors)
uptime : [482394.719381]
======Idle 2514 seconds======
Mon Dec 9 08:01:26 CST 2019
#####################################################


评论1

carter2005Lv.6 发表于 2019-12-11 09:48:21 来自手机 | 查看全部
kworker进程是kernel处理任务的进程,属于干活的,不可能是问题的源头,说实话,想要硬盘休眠,群晖上就别装什么套件,就简单文件共享,否则只要有读数据操作,硬盘就得唤醒,群晖没把系统和数据分区放在不同硬盘上,基本无法避免的,硬盘虽然挺耗电的,但群晖硬盘休眠真的挺鸡肋的,反而容易把硬盘弄坏,得不偿失。
回复 点赞

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则

淘宝小店

邀请码

VIP会员

微信客服

公众号

微信群

投诉/建议联系

support@gebi1.cn

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Copyright © 2001-2024 隔壁网 版权所有 All Rights Reserved. 粤ICP备14056481号-1
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表