polkit-agent-helper-1 ?????

My system is going slow and I’m researching why.


top - 15:30:25 up 36 days, 18:15,  4 users,  load average: 1,46, 1,53, 1,88
Tasks: 211 total,   4 running, 205 sleeping,   0 stopped,   2 zombie
%Cpu(s): 41,2 us, 13,2 sy,  0,0 ni, 45,2 id,  0,3 wa,  0,0 hi,  0,0 si,  0,0 st
KiB Mem:   3690044 total,  3327820 used,   362224 free,    75832 buffers
KiB Swap: 33554424 total, 11948744 used, 21605680 free,  1075588 cached

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                       
25048 maria     20   0 5881232 1,332g   6944 R 99,73 37,84  23846:30 polkit-kde-auth                                                                                               
18555 root      20   0   83676  15548   3756 S 4,322 0,421   0:22.73 iotop    


polkit-kde-auth???

then I’ve searched in the logs and I found a lot of process polkit-agente-helper-1… well, they are here although they are all two weeks old.


aldebaran: # ps aux |grep polkit
polkitd    790  0.0  0.5 529108 19136 ?        Ssl  feb08   5:45 /usr/lib/polkit-1/polkitd --no-debug
root      4439  0.0  0.0  85260   240 ?        S    mar03   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie5013
root      4505  0.0  0.0  85260   240 ?        S    mar03   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie5014
root      4528  0.0  0.0  85260   240 ?        S    mar03   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie5015
root      4550  0.0  0.0  85260   240 ?        S    mar03   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie5016
root      4609  0.0  0.0  85260   240 ?        S    mar03   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie5017

.........................

root     30504  0.0  0.0  85260   240 ?        S    mar03   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie5003
root     30535  0.0  0.0  85260   240 ?        S    mar04   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie5251
root     30582  0.0  0.0  85260   240 ?        S    mar03   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie5004
root     30682  0.0  0.0  85260   240 ?        S    mar03   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie5005


I’ve killed them all (sounds like The Lord of The Rings :slight_smile: )


killall polkit-agent-helper-1

And I see that some begin to appear again.


aldebaran:~ # ps aux |grep polkit
polkitd    790  0.0  0.5 529108 19272 ?        Ssl  feb08   5:45 /usr/lib/polkit-1/polkitd --no-debug
root     18606  0.0  0.0  85260  2124 ?        S    15:29   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie8429
root     18684  0.3  0.0  85260  2124 ?        S    15:35   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 root cookie8430
root     18689  0.0  0.0  11376   920 pts/3    S+   15:36   0:00 grep --color=auto polkit
root     23446  0.0  0.0      0     0 ?        Z    mar04   0:00 [polkit-agent-he] <defunct>
root     23564  0.0  0.0      0     0 ?        Z    mar04   0:00 [polkit-agent-he] <defunct>
maria    25048 47.1 37.8 5881628 1398264 ?     Rl   feb10 23852:21 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
aldebaran:~ # 

What’s that?

regards

“polkit is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes: It is a framework for centralizing the decision making process with respect to granting access to privileged operations for unprivileged applications.”

This of course should not be eating up CPU cycles. So something is very wrong. Unfortunately I don’t know what


ps -ejH

May show some useful info. Maybe???