I have the problem too. polkitd using 25% cpu and 20% mem.

I suspect
With Debug info:DEBUG: Dropping all .pkla caches for directory 
`/etc/polkit-1/localauthority/50-local.d
It seems that it rescan /etc/polkit-1/localauthority over and over again.

The system call is so frequently, that the  output of the  strace become 100M 
long , after a few miniute.
the attach is  the  output of 
strace  -r -s 200 -p xxx
   

this is the strace system call count in 5 minute 
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 56.60    0.179198           5     39594           poll
 13.59    0.043013           0   1247400           getdents
 13.02    0.041225           0    732600           open
  7.08    0.022428           0    732797           close
  4.48    0.014183           0    633600           write
  2.04    0.006455           0    227693     24746 read
  1.04    0.003308           0     59400           lstat
  0.63    0.001985           0     84150           fstat
  0.43    0.001372           0     19800           munmap
  0.35    0.001121           0     39600           lseek
  0.31    0.000977           0     19800           mmap
  0.23    0.000739           0     14850           writev
  0.19    0.000606           0     10256       267 stat
  0.00    0.000000           0       202           brk
  0.00    0.000000           0       197           socket
  0.00    0.000000           0       197       197 connect
  0.00    0.000000           0         1           restart_syscall
------ ----------- ----------- --------- --------- ----------------
100.00    0.316610               3862137     25210 total


** Attachment added: "the last tail -n 1000 of the output of strace"
   http://launchpadlibrarian.net/46947244/test1.txt

-- 
High CPU usage in policykit-1
https://bugs.launchpad.net/bugs/570015
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to