Public bug reported:
Using: libudisks2-0:amd64 2.1.6-2ubuntu1
Ubuntu 4.2.0-36.42-generic 4.2.8-ckt8
Description: Ubuntu 15.10
Release: 15.10
When I add USB drives to my system I end-up with udisksd using 100% of a
core shortly after. After some time this goes up to 200% (in one step),
so using 2 cores. Thread view shows CPU time of CMD 'pool':
# ps -T -p <pid-of-udisksd>
PID SPID TTY TIME CMD
26229 26229 ? 00:00:00 udisksd
26229 26230 ? 00:00:00 gmain
26229 26232 ? 00:00:00 gdbus
26229 26233 ? 00:00:00 probing-thread
26229 26234 ? 00:00:00 cleanup
26229 3325 ? 00:33:16 pool
26229 5027 ? 00:03:00 pool
My solution is to kill it and let it restart.
Strace needs to follow threads to show activity, it's then flooding
with:
# strace -p <udisksd-pid> -f
[pid 3325] poll([{fd=12, events=POLLIN}, {fd=17, events=POLLOUT}, {fd=18,
events=POLLIN}, {fd=20, events=POLLIN}], 4, 0) = 2 ([{fd=12, revents=POLLIN},
{fd=17, revents=POLLOUT}])
[pid 3325] read(12, "\2\0\0\0\0\0\0\0", 16) = 8
[pid 3325] write(12, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3325] write(2, "\n(udisksd:26229): GLib-WARNING *"..., 87) = 87
[pid 3325] write(12, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3325] poll([{fd=12, events=POLLIN}, {fd=17, events=POLLOUT}, {fd=18,
events=POLLIN}, {fd=20, events=POLLIN}], 4, 0) = 2 ([{fd=12, revents=POLLIN},
{fd=17, revents=POLLOUT}])
[pid 3325] read(12, "\2\0\0\0\0\0\0\0", 16) = 8
[pid 3325] write(12, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3325] write(2, "\n(udisksd:26229): GLib-WARNING *"..., 87) = 87
[pid 3325] write(12, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3325] poll([{fd=12, events=POLLIN}, {fd=17, events=POLLOUT}, {fd=18,
events=POLLIN}, {fd=20, events=POLLIN}], 4, 0) = 2 ([{fd=12, revents=POLLIN},
{fd=17, revents=POLLOUT}])
[pid 3325] read(12, "\2\0\0\0\0\0\0\0", 16) = 8
[pid 3325] write(12, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3325] write(2, "\n(udisksd:26229): GLib-WARNING *"..., 87) = 87
[pid 3325] write(12, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 3325] poll([{fd=12, events=POLLIN}, {fd=17, events=POLLOUT}, {fd=18,
events=POLLIN}, {fd=20, events=POLLIN}], 4, 0) = 2^CProcess 26229 detached
THANKS!
** Affects: linux (Ubuntu)
Importance: Undecided
Status: Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1589418
Title:
udisksd high CPU usage
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589418/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs