[Bug 1101326] Re: console-kit-daemon appears to consume 2GB of memory

Steve Langasek steve.langasek at canonical.com
Wed Jan 23 17:02:26 UTC 2013


pmap -x shows the following:

2268:   /usr/sbin/console-kit-daemon --no-daemon
Address           Kbytes     RSS   Dirty Mode   Mapping
[...]
00007f49f8022000   65400       0       0 -----    [ anon ]
00007f49fc000000     136       0       0 rw---    [ anon ]
00007f49fc022000   65400       0       0 -----    [ anon ]
00007f4a00000000     136       0       0 rw---    [ anon ]
00007f4a00022000   65400       0       0 -----    [ anon ]
00007f4a04000000     136       0       0 rw---    [ anon ]
00007f4a04022000   65400       0       0 -----    [ anon ]
00007f4a08000000     136       0       0 rw---    [ anon ]
00007f4a08022000   65400       0       0 -----    [ anon ]
00007f4a0c000000     136       0       0 rw---    [ anon ]
00007f4a0c022000   65400       0       0 -----    [ anon ]
00007f4a10000000     136       0       0 rw---    [ anon ]
00007f4a10022000   65400       0       0 -----    [ anon ]
00007f4a14000000     136       0       0 rw---    [ anon ]
00007f4a14022000   65400       0       0 -----    [ anon ]
00007f4a18000000     136       0       0 rw---    [ anon ]
00007f4a18022000   65400       0       0 -----    [ anon ]
00007f4a1c000000     136       0       0 rw---    [ anon ]
00007f4a1c022000   65400       0       0 -----    [ anon ]
00007f4a20000000     136       0       0 rw---    [ anon ]
00007f4a20022000   65400       0       0 -----    [ anon ]
00007f4a24000000     136       0       0 rw---    [ anon ]
00007f4a24022000   65400       0       0 -----    [ anon ]
00007f4a28000000     136       0       0 rw---    [ anon ]
00007f4a28022000   65400       0       0 -----    [ anon ]
00007f4a2c000000     136       0       0 rw---    [ anon ]
00007f4a2c022000   65400       0       0 -----    [ anon ]
00007f4a30000000     136       0       0 rw---    [ anon ]
00007f4a30022000   65400       0       0 -----    [ anon ]
00007f4a34000000     136       0       0 rw---    [ anon ]
00007f4a34022000   65400       0       0 -----    [ anon ]
00007f4a38000000     136       0       0 rw---    [ anon ]
00007f4a38022000   65400       0       0 -----    [ anon ]
00007f4a3c000000     136       0       0 rw---    [ anon ]
00007f4a3c022000   65400       0       0 -----    [ anon ]
00007f4a40000000     136       0       0 rw---    [ anon ]
00007f4a40022000   65400       0       0 -----    [ anon ]
[...]

That's rather a lot of 64MB rw maps, yes.  I'm not sure that they
represent actual used memory - top,  for instance, has a much different
impression of actually-used memory by process - but it warrants
investigating in any case.  Does smem also report that consolekit is a
major offender?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to consolekit in Ubuntu.
https://bugs.launchpad.net/bugs/1101326

Title:
  console-kit-daemon appears to consume 2GB of memory

Status in “consolekit” package in Ubuntu:
  New

Bug description:
  Run: ps -e -o size,pid,cmd | sort -n
  to see all processes in ascending order of "size" (which is an estimate).

  And you will see console-kit-daemon is the biggest (2GB).

  More info from /proc/PID/status, see VmData:
  VmPeak:	 2093892 kB
  VmSize:	 2093872 kB
  VmLck:	       0 kB
  VmPin:	       0 kB
  VmHWM:	    4076 kB
  VmRSS:	    4076 kB
  VmData:	 2052780 kB
  VmStk:	     136 kB
  VmExe:	     136 kB
  VmLib:	    5836 kB
  VmPTE:	     236 kB
  VmSwap:	       0 kB

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: consolekit 0.4.5-3.1
  ProcVersionSignature: Ubuntu 3.8.0-0.3-generic 3.8.0-rc3
  Uname: Linux 3.8.0-0-generic x86_64
  ApportVersion: 2.8-0ubuntu1
  Architecture: amd64
  Date: Fri Jan 18 10:26:01 2013
  InstallationDate: Installed on 2013-01-09 (9 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130108)
  MarkForUpload: True
  SourcePackage: consolekit
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/1101326/+subscriptions




More information about the foundations-bugs mailing list