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

Steve Langasek steve.langasek at canonical.com
Wed Jan 23 22:11:45 UTC 2013


I'm still not sure what those 64-bit mappings are, but note the modes:

$ sudo pmap -x $(pidof console-kit-daemon) 2>&1 | grep 654
00007f92b8022000   65400       0       0 -----    [ anon ]
00007f92bc022000   65400       0       0 -----    [ anon ]
00007f92c0022000   65400       0       0 -----    [ anon ]
00007f92c4022000   65400       0       0 -----    [ anon ]
00007f92c8022000   65400       0       0 -----    [ anon ]
00007f92cc022000   65400       0       0 -----    [ anon ]
00007f92d0022000   65400       0       0 -----    [ anon ]
00007f92d4022000   65400       0       0 -----    [ anon ]
00007f92d8022000   65400       0       0 -----    [ anon ]
00007f92dc022000   65400       0       0 -----    [ anon ]
00007f92e0022000   65400       0       0 -----    [ anon ]
00007f92e4022000   65400       0       0 -----    [ anon ]
00007f92e8022000   65400       0       0 -----    [ anon ]
00007f92ec022000   65400       0       0 -----    [ anon ]
00007f92f0022000   65400       0       0 -----    [ anon ]
00007f92f4022000   65400       0       0 -----    [ anon ]
00007f92f8022000   65400       0       0 -----    [ anon ]
00007f92fc022000   65400       0       0 -----    [ anon ]
00007f9300022000   65400       0       0 -----    [ anon ]
00007f9304022000   65400       0       0 -----    [ anon ]
00007f9308022000   65400       0       0 -----    [ anon ]
00007f930c022000   65400       0       0 -----    [ anon ]
00007f9310022000   65400       0       0 -----    [ anon ]
00007f9314022000   65400       0       0 -----    [ anon ]
00007f9318022000   65400       0       0 -----    [ anon ]
00007f931c022000   65400       0       0 -----    [ anon ]
00007f9320022000   65400       0       0 -----    [ anon ]
00007f9324022000   65400       0       0 -----    [ anon ]
00007f9328022000   65400       0       0 -----    [ anon ]
00007f932c022000   65400       0       0 -----    [ anon ]
00007f9330021000   65404       0       0 -----    [ anon ]
$

These 64MB blocks are anonymous mappings that are not readable *or*
writable.  As such, they take up no actual memory in the kernel, and
should be ignored.

And these mappings account for the vast majority of the memory reported.
So I think you should ensure that you're excluding such mappings from
your analysis.

After deducting the null mappings from the memory usage, ck seems to be
using a much more reasonable 25MB.  So I'm closing this report as
invalid.

** Changed in: consolekit (Ubuntu)
       Status: New => Invalid

-- 
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:
  Invalid

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