udisksd消耗大量内存
现象
udisks服务消耗了大量的内存
udisks service was consuming a lot of memory, nearly 32GB
# USER PID %CPU %MEM VSZ-MiB RSS-MiB TTY STAT START TIME COMMAND
66 root 27247 26.6 28.2 44391 36416 ? - 2018 71039:47 /usr/libexec/udisks2/udisksd
原因
Linux 7.5 Bug 1684917
解决方案
重启服务
其他
Such big memory consumption indicates memory leaks, the daemon itself should stay reasonably low-footprint on memory and CPU.
The total CPU time spent ("71039:47") is also large enough to indicate some kind of trouble. Is this a constant load or just a spike? Udisks generally responds to uevents (udev events), normally it should be quiet down to zero CPU utilization. Would be interesting to see what is the traffic situation inudevadm monitor
as well.
Also,udisksctl dump
output may help to understand customer's storage topology.this should be fixed in udisks2-2.8.4-1.el7 and libblockdev-2.18-5.el7 (you need both packages).