Public bug reported:

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.

** Affects: policykit-1 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Periodic high CPU usage

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to