udisksd and dbus-daemon consume too much cpu

Bug #1453619 reported by Peter Ludwig
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udisks (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

As soon as I plug in an usb stick or usb drive of any kind my cpu load goes up to 100% on each core same time (no matter if I mount it or not). This cpu load takes up to 60 sec and then everything is fine again. If I unplug the stick and switch in again the same happens again. I do not mount the stick during this load. But even if I do it won`t change anything. It takes around 15 seconds until I can access my usb stick / usb drive.

If I then want to access (mount) my already plugged in usb stick later my cpu rises again on all cores up to 100% and again it takes up to 60 sec until the load geoes down again. Again the two processes are udisksd and dbuis-daemon.

This did not happen before. My PC has this problem since around 4 months.

OS: Kubuntu Precise 12.04.5 LTS
Kernel: 3.8.0-44
KDE: 4.14.2

udisks:
  Installiert: 1.0.4-5ubuntu2.2
  Kandidat: 1.0.4-5ubuntu2.2
  Versionstabelle:
 *** 1.0.4-5ubuntu2.2 0
       2012 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
       2012 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.0.4-5ubuntu2 0
       2012 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

dbus:
  Installiert: 1.4.18-1ubuntu1.7
  Kandidat: 1.4.18-1ubuntu1.7
  Versionstabelle:
 *** 1.4.18-1ubuntu1.7 0
       2012 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
       2012 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.4.18-1ubuntu1 0
       2012 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Revision history for this message
Peter Ludwig (peter-ludwig) wrote :

I assume it is not affected by usb-creator but rather udisksd and dbus. Sorry for this first false classification.

affects: usb-creator (Ubuntu) → udisks (Ubuntu)
Revision history for this message
Peter Ludwig (peter-ludwig) wrote :

I noticed that sometimes I have to umount USB Storage devices by typing root password. "Umount a device mounted by another user" - which is confusing cuz I am the one who mounted it ... (?)

Revision history for this message
Peter Ludwig (peter-ludwig) wrote :

The fs rights on the USB drive are set to my username. (username:users)
I am in group: plugdev and fuse
Umounting sometimes does not require root password.
But mounting and umounting is always followed with high CPU load around ~ 30 secs long. (udisksd and dbus-daemon)

Revision history for this message
Peter Ludwig (peter-ludwig) wrote :

I now removed the package "baloo" because it was said that this helped someone - but to no avail.
I upgraded my kernel now to "3.13.0-71-generic" - no change.
I monitored my udisk daemon with: "sudo /usr/lib/udisks2/udisksd --replace" but there was not really sth. going on after 2 or 3 seconds while the cpu burning went still on.
I am planning to monitor my D-Bus now. But this will take some time. I will get back with news.

Revision history for this message
Peter Ludwig (peter-ludwig) wrote :
Revision history for this message
Peter Ludwig (peter-ludwig) wrote :

Can be closed. Found the cause. If you change a drive (i.e. move swap to different partition) and you do not close all dolphin windows after or before reboot wrong settings seem to be kept by dolphin leading to this problem. After I closed all my dolphin windows (which I normally leave open to have quicker file / folder access) the problem was gone.

Phillip Susi (psusi)
Changed in udisks (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.