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 in udevadm 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).


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM