[Bug 570015] Re: High CPU usage in policykit-1

2010-05-05 Thread James Westby
On Wed, 05 May 2010 12:53:04 -, Dražen Kačar d...@fly.srk.fer.hr wrote: Ah, got it. Pulseaudio won't start (under my user's account) because of: E: module.c: Failed to load module module-alsa-sink (argument: device=plughw:0 rate=44100): initialization failed. E: main.c: Module load

[Bug 570015] Re: High CPU usage in policykit-1

2010-05-05 Thread James Westby
Another duplicate shows rtkit querying repeatedly, so I am sure this is pulseaudio related. Thanks, James -- 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. --

[Bug 570015] Re: High CPU usage in policykit-1

2010-05-05 Thread James Westby
So, you should look at why pulseaudio is respawning so quickly, I would assume because it is crashing on startup. First stop it autospawning by editing /etc/pulse/client.conf and adding autospawn = no. Then stop any running pulseaudio with the pulseaudio -k command. The run pulseaudio using

[Bug 570015] Re: High CPU usage in policykit-1

2010-05-05 Thread Dražen Kačar
I wanted to try your suggestion, and discovered I had no pulseaudio running. I edited /etc/pulse/client.conf, and then: {lestat}~# pulseaudio -k E: main.c: Failed to kill daemon: No such process {lestat}~ ps -ef | grep pulse dave 19336 5056 0 14:18 pts/100:00:00 grep pulse Then I

[Bug 570015] Re: High CPU usage in policykit-1

2010-05-05 Thread Dražen Kačar
Ah, got it. Pulseaudio won't start (under my user's account) because of: E: module.c: Failed to load module module-alsa-sink (argument: device=plughw:0 rate=44100): initialization failed. E: main.c: Module load failed. E: main.c: Failed to initialize daemon. And that module was specified in

Re: [Bug 570015] Re: High CPU usage in policykit-1

2010-05-05 Thread James Westby
On Wed, 05 May 2010 12:28:33 -, Dražen Kačar d...@fly.srk.fer.hr wrote: I wanted to try your suggestion, and discovered I had no pulseaudio running. I edited /etc/pulse/client.conf, and then: {lestat}~# pulseaudio -k E: main.c: Failed to kill daemon: No such process {lestat}~ ps -ef |

[Bug 570015] Re: High CPU usage in policykit-1

2010-05-03 Thread VasiaUVI
I've deleted some .* folders and files from some applications that I've used before and unistaled and now the system is OK (I hope). But I think that the problem was .pulse folder from pulse-audio. After deleting this folder my CPU was in the normal state. Looking inside the folder I've seen that

[Bug 570015] Re: High CPU usage in policykit-1

2010-05-01 Thread zwj
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

[Bug 570015] Re: High CPU usage in policykit-1

2010-05-01 Thread zwj
may be this would be help: Syslog: daemon.log May 1 20:46:31 zwj-desktop rtkit-daemon[1343]: Supervising 1 threads of 1 processes of 1 users. May 1 20:46:31 zwj-desktop rtkit-daemon[1343]: Sucessfully made thread 32184 of process 32184 (n/a) owned by '1000' high priority at nice level -11. May

Re: [Bug 570015] Re: High CPU usage in policykit-1

2010-05-01 Thread James Westby
On Sat, 01 May 2010 13:02:27 -, zwj zwj.e...@gmail.com wrote: may be this would be help: Syslog: daemon.log May 1 20:46:31 zwj-desktop rtkit-daemon[1343]: Supervising 1 threads of 1 processes of 1 users. May 1 20:46:31 zwj-desktop rtkit-daemon[1343]: Sucessfully made thread 32184 of

[Bug 570015] Re: High CPU usage in policykit-1

2010-04-30 Thread James Westby
Hi, It looks as though something may be continually querying polkit, which is probably causing a slow memory leak to show itself much much faster. Nothing should be querying it that frequently, so lets work out what is. If you kill the polkitd process and then run sudo

[Bug 570015] Re: High CPU usage in policykit-1

2010-04-30 Thread Sébastien Pierre
Here is what I get ** Attachment added: polkitd-debug output http://launchpadlibrarian.net/46625622/pouet.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.

Re: [Bug 570015] Re: High CPU usage in policykit-1

2010-04-30 Thread James Westby
On Fri, 30 Apr 2010 14:39:48 -, Sébastien Pierre sebast...@type-z.org wrote: Here is what I get You failed to kill any existing polkitd processes. This may be due to dbus activation and whatever is continually making requests causing polkitd to be respawned before you can start polkitd.

[Bug 570015] Re: High CPU usage in policykit-1

2010-04-28 Thread Paul Gortmaker
I had polkitd eat through all RAM and swap (approx 6G total) and trigger oom-killer on firefox overnight. Seeing the above, and being long overdue for a housecleaning of dot files/directories, I started with a clean dir and only migrated key stuff I use daily directly (i.e. .gitconfig,

[Bug 570015] Re: High CPU usage in policykit-1

2010-04-28 Thread Paul Gortmaker
** Attachment added: strace output from memory eating polkitd http://launchpadlibrarian.net/46042521/polkitd.strace.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

[Bug 570015] Re: High CPU usage in policykit-1

2010-04-27 Thread Joshua Solomon
Yeah, I essentially had to do the same. Moving a single directory was impossible, as it tended to be multiple directories that caused it. First, I dragged out the non-system hidden files, then the system hidden files. Next, I restarted and moved back everything except these hidden

[Bug 570015] Re: High CPU usage in policykit-1

2010-04-27 Thread The Fold
I've found that by running 'rm -rf .*' in my home directory and rebooting that the problem has gone away. Mine's a non-essential box though, so I wouldn't recommend a blanket delete like that to everyone. -- High CPU usage in policykit-1 https://bugs.launchpad.net/bugs/570015 You received this

[Bug 570015] Re: High CPU usage in policykit-1

2010-04-25 Thread Joshua Solomon
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/45427589/Dependencies.txt ** Attachment added: ProcMaps.txt http://launchpadlibrarian.net/45427590/ProcMaps.txt ** Attachment added: ProcStatus.txt http://launchpadlibrarian.net/45427591/ProcStatus.txt -- High CPU