Results 1 to 7 of 7

Thread: polkitd eating all Physical Memory

  1. #1
    Join Date
    Jan 2010
    Location
    India
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    polkitd eating all Physical Memory

    Hi,

    The problem is my pc is getting slow at times & the only way out (temporary) is restarting it.

    I tried to do some troubleshooting myself.

    I uninstalled kde, lxde, because system monitor was showing a lot of processes starting with "k". I thought all those belongs to kde & were responsible for this situation. I don't use KDE, it was installed with K3B. About LXDE, I just wanted to see its look n fell. So don't bother about these. But when unistalling these did not solve the issue I looked further (in system monitor)& saw "polkitd" is consuming almost the entire remaining ram.

    Recently I enabled the apparmor profile for FF. Is that causing it ?

    I had to edit ~/.pulse/default.pa & ~/.pulse/daemon.conf in order to get surround sound working because as you know pulse audio defaults to 2 channels.

    Let me also mention that the computer doesn't get slow as soon as I boot it. It gets slow gradually.

    I can actually see polkitd growing in size, using System Monitor.

    Also, the hdd LED on the front panel glows constantly, indicating disk activity.

    Please help.
    Last edited by linuxyogi; August 7th, 2010 at 12:21 PM.
    Xubuntu 18.04 Intel(R) Core(TM) i3-6100 CPU Ram 4GB Intel HD Graphics

  2. #2
    Join Date
    Jan 2010
    Location
    India
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: polkitd eating all Physical Memory

    Deleting the this file "~/.pulse-cookie" seems to have corrected the problem.

    Got the idea by reading this

    https://bugs.launchpad.net/ubuntu/+s...-1/+bug/572813.

    I guess I will wait for a few days & if all is well I will mark this thread as solved.
    Last edited by linuxyogi; August 7th, 2010 at 07:38 PM.
    Xubuntu 18.04 Intel(R) Core(TM) i3-6100 CPU Ram 4GB Intel HD Graphics

  3. #3
    Join Date
    Jan 2010
    Location
    India
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: polkitd eating all Physical Memory

    This is the solution -------

    Delete the file "~/.pulse-cookie"

    Reboot.
    Xubuntu 18.04 Intel(R) Core(TM) i3-6100 CPU Ram 4GB Intel HD Graphics

  4. #4
    Join Date
    Jun 2008
    Location
    Sydney
    Beans
    14
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: polkitd eating all Physical Memory

    Hi

    Here I am in 10.10 and polkitd is doing exactly as described.

    I remove file "~/.pulse-cookie" and a few seconds later there it is again.
    So I have set a crontab job to remove it every 5 seconds to get me by, sort of.
    Now it takes a couple of days before memory is gone & I have to re-boot.

    Is there a permanent solution to this problem?

  5. #5
    Join Date
    Jan 2010
    Location
    India
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: polkitd eating all Physical Memory

    Quote Originally Posted by rocsco View Post
    Hi

    Here I am in 10.10 and polkitd is doing exactly as described.

    I remove file "~/.pulse-cookie" and a few seconds later there it is again.
    So I have set a crontab job to remove it every 5 seconds to get me by, sort of.
    Now it takes a couple of days before memory is gone & I have to re-boot.

    Is there a permanent solution to this problem?
    In my case removing the "~/.pulse-cookie" once resolved the issue. The "~/.pulse-cookie" appeared again but it was no longer consuming physical memory as before.
    Xubuntu 18.04 Intel(R) Core(TM) i3-6100 CPU Ram 4GB Intel HD Graphics

  6. #6
    Join Date
    Jun 2008
    Location
    Sydney
    Beans
    14
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: polkitd eating all Physical Memory

    Thanks for the advice. Unfortunately, it just goes on eating memory no matter how many times I delete the cookie or reboot the system.
    One day ...

  7. #7
    Join Date
    Feb 2011
    Beans
    3

    Re: polkitd eating all Physical Memory

    Vmware tools or something for me renamed /etc/pulse/default.pa to /etc/pulse/default.pa.old

    I renamed it back and rebooted and everything is working for me again.

    The deletion of ~/.pulse* and ~/.dbus did not work.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •