Comment 16 for bug 570015

Revision history for this message
Dražen Kačar (dave-fly) wrote : Re: High CPU usage in policykit-1

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 ~/.pulse/default.pa, which is a leftover from the time when pulseaudio wasn't working and I was trying to do something about it.

So I deleted ~/.pulse/default.pa, stopped pulseaudio that was started by hand and polkitd is still behaving perfectly fine. Even the music is playing, although I have no pulseaudio running. :-)

Then I killed polkitd and it wasn't restarted. So I started pulseudio by hand (from my user's account) and then polkitd appeared. It's peacefully sleeping in poll() and isn't leaking memory.