systemd-udevd是个什么东西,时刻爆发占满cpu
Tofloor
poster avatar
V
deepin
2020-05-11 06:06
Author
一开机就会看到systemd-udevd把所有cpu占满。插入一个u盘也会占满接近一分钟,打开打印机居然有2个systemd-udevd同时占满接近1分钟。这到底是个什么东西啊。

Reply Favorite View the author
All Replies
avatar
haohu1193
deepin
2020-05-11 06:27
#1
本帖最后由 haohu1193 于 2020-5-10 22:32 编辑

名称:systemd-udevd.service, systemd-udevd-control.socket, systemd-udevd-kernel.socket, systemd-udevd — 设备事件管理服务

描述:systemd-udevd是监听内核发出的设备事件,并根据udev规则处理每个事件。

比如: 热插拔使用过udev服务监管实现的,(systemd-udevd)
systemd-udevd.service 中文手册:http://www.jinbuguo.com/systemd/systemd-udevd.service.html
Reply View the author
avatar
mcaoser
deepin
2020-05-11 07:05
#2
设备管理用的,比如拨插U盘类的,由它管理
Reply View the author
avatar
V
deepin
2020-05-11 22:25
#3
https://bbs.deepin.org/post/194023
设备管理用的,比如拨插U盘类的,由它管理

管理的好奇怪啊,我插个u盘,开个打印机,都要占满CPU接近1分钟,怎么解决?
Reply View the author
avatar
haohu1193
deepin
2020-05-11 22:44
#4
https://bbs.deepin.org/post/194023
管理的好奇怪啊,我插个u盘,开个打印机,都要占满CPU接近1分钟,怎么解决? ...

很少见,你的硬件配置是?
Reply View the author
avatar
V
deepin
2020-05-12 17:51
#5
有点老的联想一体机,但是应该速度还可以的。

Reply View the author
avatar
lantern123
deepin
2021-03-29 18:20
#6

我最近也遇到了这个问题,目前已经解决,我发现在插上u盘的时候systemd-udevd占比第一,占比第二还有个laptop_mode,当我暂停这个程序的时候系统就恢复正常了,可见问题出在laptop上。通过卸载这个工具包可以解决问题(laptop是一种工作模式不过我发现我的笔记本貌似并不需要这种没啥用的模式)。具体卸载指令:sudo apt-get remove laptop-mode-tools

Reply View the author
avatar
V
deepin
2021-04-01 01:06
#7
lantern123

我最近也遇到了这个问题,目前已经解决,我发现在插上u盘的时候systemd-udevd占比第一,占比第二还有个laptop_mode,当我暂停这个程序的时候系统就恢复正常了,可见问题出在laptop上。通过卸载这个工具包可以解决问题(laptop是一种工作模式不过我发现我的笔记本貌似并不需要这种没啥用的模式)。具体卸载指令:sudo apt-get remove laptop-mode-tools

感谢,不知道这个做什么用的,先这么忍着吧。。。

Reply View the author