kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #182424
[Bug 1589418] [NEW] udisksd high CPU usage
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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1589418
Title:
udisksd high CPU usage
Status in linux package in Ubuntu:
Incomplete
Bug description:
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!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589418/+subscriptions
Follow ups
-
[Bug 1589418] Re: udisksd high CPU usage
From: Christopher M. Penalver, 2016-06-09
-
[Bug 1589418] Re: udisksd high CPU usage
From: Bones, 2016-06-09
-
[Bug 1589418] WifiSyslog.txt
From: Bones, 2016-06-09
-
[Bug 1589418] UdevDb.txt
From: Bones, 2016-06-09
-
[Bug 1589418] RfKill.txt
From: Bones, 2016-06-09
-
[Bug 1589418] ProcModules.txt
From: Bones, 2016-06-09
-
[Bug 1589418] ProcInterrupts.txt
From: Bones, 2016-06-09
-
[Bug 1589418] ProcCpuinfo.txt
From: Bones, 2016-06-09
-
[Bug 1589418] Lsusb.txt
From: Bones, 2016-06-09
-
[Bug 1589418] Lspci.txt
From: Bones, 2016-06-09
-
[Bug 1589418] JournalErrors.txt
From: Bones, 2016-06-09
-
[Bug 1589418] IwConfig.txt
From: Bones, 2016-06-09
-
[Bug 1589418] CurrentDmesg.txt
From: Bones, 2016-06-09
-
[Bug 1589418] CRDA.txt
From: Bones, 2016-06-09
-
[Bug 1589418] Re: udisksd high CPU usage
From: Bones, 2016-06-09
-
[Bug 1589418] Re: udisksd high CPU usage
From: Christopher M. Penalver, 2016-06-09
-
[Bug 1589418] Re: udisksd high CPU usage
From: Joseph Salisbury, 2016-06-08
-
[Bug 1589418] Re: udisksd high CPU usage
From: Bones, 2016-06-07
-
[Bug 1589418] Missing required logs.
From: Brad Figg, 2016-06-06
-
[Bug 1589418] Re: udisksd high CPU usage
From: Bones, 2016-06-06