[Bug 689593] Re: 2x100% CPU and memory usage growth when performing partition modifications via udisks

Janne Savikko janne.savikko at gmail.com
Mon Aug 12 17:55:31 UTC 2013


I stumbled upon this bug when erasing USB-key with Startup Disk Creator,
and found out following:

These commands consume 100% CPU:
/usr/lib/udisks/udisks-daemon
udisks-helper-modify-partition /dev/sdb 1048576 7962886144 0x0c  boot

When stracing processes of those commands, both are stuck printing couple of strings over and over again:
"Error: Can't have a partition outside the disk!\nnew_size=7962886144 but resulting size, 7961022464, smaller than requested\n"

I'll be happy to provide more information if needed.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/689593

Title:
  2x100% CPU and memory usage growth when performing partition
  modifications via udisks

Status in abstraction for enumerating and managing block devices:
  New
Status in “gnome-disk-utility” package in Ubuntu:
  Confirmed
Status in “usb-creator” package in Ubuntu:
  Confirmed

Bug description:
  When unsetting the bootable flag on a partition using palimpsest, the
  following things happen:

  - udisks-helper-modify-partition and udisks-daemon processes use 100% CPU each
  - udisks-daemon chews about 18MiB of memory each second

  This problem exists regardless of whether the partition is mounted or
  not.

  natty
  gnome-disk-utility 2.32.1-0ubuntu3
  udisks 1.0.2-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/udisks/+bug/689593/+subscriptions




More information about the foundations-bugs mailing list