desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #127419
[Bug 1470235] Re: PolicyKit high memory usage
A couple more data points:
Last week, I rebooted my machine and logged in right away. polkitd was
only using 7 MB of memory:
$ ps aux | grep polkitd | grep -v grep
root 1219 0.1 0.0 281164 7244 ? Sl 16:36 0:00 /usr/lib/policykit-1/polkitd --no-debug
Two days later, polkitd was using only marginally more memory:
$ uptime
17:08:55 up 2 days, 32 min, 2 users, load average: 1.42, 0.78, 0.37
$ ps aux | grep polkitd | grep -v grep
root 1219 0.0 0.0 291208 7664 ? Sl Jun30 0:00 /usr/lib/policykit-1/polkitd --no-debug
On Friday, I installed updates and then rebooted without logging in.
This morning, before logging in, polkitd was already using nearly 1 GB
of memory:
$ uptime
09:09:38 up 3 days, 15:57, 1 user, load average: 0.06, 0.05, 0.05
$ ps aux | grep polkitd | grep -v grep
root 1034 0.4 11.2 1137788 912732 ? Sl Jul02 23:23 /usr/lib/policykit-1/polkitd --no-debug
$ date
Mon Jul 6 09:11:17 EDT 2015
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to policykit-1 in Ubuntu.
https://bugs.launchpad.net/bugs/1470235
Title:
PolicyKit high memory usage
Status in policykit-1 package in Ubuntu:
Confirmed
Bug description:
Periodically I install updates on my computer and reboot without
logging in. When I come back to my computer and log in, polkitd is
using a large chunk of memory. At the moment it's using > 2.3 GiB of
memory on a machine with 8 GB RAM:
$ ps aux | grep polkit
root 1229 0.4 29.8 2652532 2420916 ? Sl Jun19 67:38 /usr/lib/policykit-1/polkitd --no-debug
Killing the process frees the memory until I reboot again.
I'm currently using the latest version of policykit-1:
$ apt-file search /usr/lib/policykit-1/polkitd
policykit-1: /usr/lib/policykit-1/polkitd
$ apt-cache policy policykit-1
policykit-1:
Installed: 0.105-4ubuntu2.14.04.1
Candidate: 0.105-4ubuntu2.14.04.1
Version table:
*** 0.105-4ubuntu2.14.04.1 0
500 http://ca.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
0.105-4ubuntu2 0
500 http://ca.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
$ sudo apt-get upgrade policykit-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
policykit-1 is already the newest version.
Other information:
$ lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: policykit-1 0.105-4ubuntu2.14.04.1
ProcVersionSignature: Ubuntu 3.16.0-41.55~14.04.1-generic 3.16.7-ckt11
Uname: Linux 3.16.0-41-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
Date: Tue Jun 30 16:14:51 2015
InstallationDate: Installed on 2014-08-25 (309 days ago)
InstallationMedia: Xubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140723)
ProcEnviron:
LANGUAGE=en_CA:en
TERM=xterm
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: policykit-1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1470235/+subscriptions
References