在 Red Hat Enterprise Linux 7 中,polkitd 和 accounts-daemon 进程消耗大量 CPU 资源
Issue
(polkitd, dbus-daemon, accounts-daemon)每个都消耗了大约 10% 的内存资源,且正在持续增加。
USER PID %CPU %MEM VSZ-MiB RSS-MiB TTY STAT START TIME COMMAND
polkitd 789 9.0 0.0 530 13 ? Ssl 2018 8066:42 /usr/lib/polkit-1/polkitd --no-debug
dbus 772 7.3 0.0 61 4 ? Ss 2018 6519:31 /usr/bin/dbus-daemon --system --address=systemd:
root 791 6.1 0.0 392 8 ? Ssl 2018 5441:59 /usr/libexec/accounts-daemon
root 20591 2.3 0.0 611408 4244 ? Sl 2018 2083:19 /usr/libexec/gsd-account
gnome-settings-daemon插件在一个持续循环中轮询accountsservice。- 在升级到
RHEL 7.4/7.5/7.6后,polkitd和accounts-daemon似乎会消耗更多的 CPU 资源。
Environment
- Red Hat Enterprise Linux 7.4/7.5/7.6
- polkit-0.112-14.el7.x86_64
- accountsservice-0.6.45-7.el7.x86_64
- gnome-settings-daemon-3.26.2-9.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.