← Back to team overview

kernel-packages team mailing list archive

[Bug 1589418] Re: udisksd high CPU usage

 

Did this issue start happening after an update/upgrade?  Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.7-rc1 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc1-yakkety/


** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
       Status: Confirmed => 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


References