Periodic high CPU usage

Bug #704055 reported by Psychotron
This bug report is a duplicate of:  Bug #572813: polkitd service is using all my RAM. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
policykit-1 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: policykit-1

I'm observing periodic peaks in CPU usage of polkitd. This is a bit annoying, as makes the fan of my laptop turn on every few seconds. I had a look with strace and every time CPU goes up polkitd checks a number of directories:

open("/var/lib/polkit-1/localauthority/10-vendor.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 9
open("/var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla", O_RDONLY|O_LARGEFILE) = 10
open("/var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla", O_RDONLY|O_LARGEFILE) = 9
open("/etc/polkit-1/localauthority/10-vendor.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 9
open("/var/lib/polkit-1/localauthority/20-org.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 9
open("/etc/polkit-1/localauthority/20-org.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 9
open("/var/lib/polkit-1/localauthority/30-site.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 9
open("/etc/polkit-1/localauthority/30-site.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 9
open("/var/lib/polkit-1/localauthority/50-local.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 9
open("/etc/polkit-1/localauthority/50-local.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 9
open("/var/lib/polkit-1/localauthority/90-mandatory.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 9
open("/etc/polkit-1/localauthority/90-mandatory.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 9

(These are only the "open" calls)

Now the problems seems to be that this doesn't happen once but 260 times in a row (every time)!

This is on Maverick.

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.